Floater
Bobs the part or model it’s in up and down.
- Inherits: MovingBehavior → Behavior → Instance
- Creatable: Yes:
new Floater(), orInstance.new('Floater', parent). - Replication: Replicated: clients get a copy, and changes the server makes reach them.
Properties
Section titled “Properties”height
Section titled “height”Type: number · Default: 1 · Range: -1,000 to 1,000 (clamped) · Access: read/write · Replicates: yes
Studs it rises above where it started, and comes back down.
period
Section titled “period”Type: number · Default: 2 · Range: 0.05 to 3,600 (clamped) · Access: read/write · Replicates: yes
Seconds for one bob up and down.
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