How to Make an Object Float On Mouse Click

Last updated: January 19, 2025

  1. Select on the Object/Props then click on the Code Builder button

Code Builder 2. Go to the Events section, then drag in "when player clicks object" block

Events Section 3. Go to the Motion Section next, then drag the "tween position in plot to x...."

Motion Section 4. Change the to button to by

  1. Increase the value of Y to the height of the object you want it to be

  2. Increase the value of seconds to adjust how fast you want the object to be from the ground to the floating point.

Was this article helpful?

Thanks for your feedback!