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.

![]()
Copyright 2025 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy