Rotate behavior script interface
The IRotateBehaviorInstance interface derives from IBehaviorInstance to add APIs specific to the Rotate behavior.
Rotate behavior APIs
- speed
- Set or get the rotation speed in radians per second. Positive values rotate clockwise and negative values rotate counter-clockwise.
- acceleration
- Set or get the rotation acceleration rate in radians per second per second.
- rotationType
- Set or get the current rotation type. This is a string which may be one of
"2d" for 2D rotation (altering the angle), or "rotation-x", "rotation-y" or "rotation-z" for 3D rotation around a particular axis.
- isEnabled
- A boolean indicating if the behavior is enabled. If disabled, the behavior no longer has any effect on the object.
Construct Animate Manual
Construct.net
2022-08-31
2026-07-22
You are here:
Search this manual:
This manual entry was last updated on 22 Jul, 2026 at 09:29