Skip to content

Spinner

Spins the part or model it’s in, forever.

  • Inherits: MovingBehavior → Behavior → Instance
  • Creatable: Yes: new Spinner(), or Instance.new('Spinner', parent).
  • Replication: Replicated: clients get a copy, and changes the server makes reach them.

Spins the part or model it’s in around an axis, forever.

Type: number · Default: 90 · Range: -3,600 to 3,600 (clamped) · Access: read/write · Replicates: yes

Degrees per second (negative spins the other way; 0 stops it where it started).

Type: Vector3 · Default: new Vector3(0, 1, 0) · Access: read/write · Replicates: yes

The world axis it spins around ((0, 1, 0) turns like a carousel). 2D games spin in the plane.

Inherited from MovingBehavior: startTime

Inherited from Behavior: enabled, running

Inherited from Instance: name, archivable, id, className, parent, destroyed

Inherited from Behavior: activate

Inherited from Instance: getPropertyChangedSignal, setAttribute, getAttribute, getAttributes, getAttributeChangedSignal, getChildren, getDescendants, findFirstChild, findFirstChildOfClass, findFirstChildWhichIsA, findFirstAncestor, findFirstAncestorWhichIsA, waitForChild, isA, isDescendantOf, isAncestorOf, getFullName, clearAllChildren, destroy, clone, toString

Inherited from Instance: changed, childAdded, childRemoved, descendantAdded, descendantRemoving, ancestryChanged, destroying, attributeChanged