moving a body

I've found a few references to calling SetXForm() to move a body around, but I can't get this to work with box2dweb

body.SetXForm(new Box2D.Common.Math.b2Vec2( 7,3 , body.GetWorldCenter() ) );

or

body.SetXForm(new Box2D.Common.Math.b2Vec2( 7,3 ) );

Will both throw a TypeError exception.

Anyone have working example of how to do this?

Thanks.
well, I've found an extremely hacky workaround:

Box2D.Dynamics.b2World.DestroyBody(aBody);

Then just immediately re-create it somewhere else. Inefficient, but it works.

Would still love to see the proper way to do this.
You are trying to teleport the player/object right? This works for me.

player.SetPosition (new b2Vec2(x,y) )

It's the box2dweb version btw.

Original thread: https://box2d.org/forum/viewtopic.php?t=7655