The example demonstrates how to make a sprite be fixed to a point but can rotate. The wand is hanging like a pendulum.
The center of the wand in the costume is the point of rotation.

The following code creates the simulation of the pendulum.

Output
![]()
Programming Mode: Block Coding
Extensions/Library Used: Physics Engine
Publish Date: October 24, 2022
The example demonstrates how to make a sprite be fixed to a point but can rotate. The wand is hanging like a pendulum.
The center of the wand in the costume is the point of rotation.

The following code creates the simulation of the pendulum.

![]()