Mover
Moves the part or model it’s in to an offset and back, carrying anyone standing on it.
- Inherits: MovingBehavior → Behavior → Instance
- Creatable: Yes:
new Mover(), orInstance.new('Mover', parent). - Replication: Replicated: clients get a copy, and changes the server makes reach them.
Properties
Section titled “Properties”offset
Section titled “offset”Type: Vector3 · Default: new Vector3(0, 10, 0) · Access: read/write · Replicates: yes
How far it goes, in studs (2D games ignore z).
duration
Section titled “duration”Type: number · Default: 2 · Range: 0.05 to 3,600 (clamped) · Access: read/write · Replicates: yes
Seconds each way.
Type: number · Default: 0.5 · Range: 0 to 3,600 (clamped) · Access: read/write · Replicates: yes
Seconds it waits at each end.
easing
Section titled “easing”Type: Easing · Default: 'sineInOut' · Access: read/write · Replicates: yes
How it speeds up and slows down (the tween easings; linear keeps one speed).
Inherited from MovingBehavior: startTime
Inherited from Behavior: enabled, running
Inherited from Instance: name, archivable, id, className, parent, destroyed
Methods
Section titled “Methods”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
Events
Section titled “Events”Inherited from Instance: changed, childAdded, childRemoved, descendantAdded, descendantRemoving, ancestryChanged, destroying, attributeChanged