The BodyPosition object applies a force on its Parent to move towards a position specified in world coordinates. If the Parent is already at the specified position then the BodyPosition will attempt to keep its Parent stationary. The strength of this force depends on several factors.

Body Position


This force is stronger the further the Parent is from the goal. This distance component of the force is amplified by the value of P. If the Parent is in motion, its velocity will dampen the strength of the force. This dampening is amplified by the value of D. The resulting force is capped by the value in MaxForce.


This code will make a brick fly and hover in the center of the map, a little bit off the ground.

script.Parent.BodyPosition.position =, 20, 0)