CycleOffset (Property)

From Legacy Roblox Wiki
Jump to navigationJump to search
CycleOffset
Property Float CycleOffset
Description This number is basically a decimal number between 0 and 1, through which you can control how far all of the Decals are along the wire.
Member of FloorWire

How this works

Explanation: A cycle is one decal moving into the place, where the next decal was when the first one started the cycle. For example, if you set the StudsBetweenTextures (Property) to exactly the length of the wire, at the beginning of a cycle, the one decal will be at the very beginning and the other at the end of the wire. After the cycle is over, the first decal, the one that was at the beginning of the wire at the start, will be at the end of the wire.

Here is a graphic representation:

CycleOffset
CycleOffset

Examples:

  • If the property is equal to 0 then the farthest decal is right at the end of the wire.
  • At 1, the next decal is at the end of the wire.
  • At 0.5 the decal would be halfway between its place at 0 and the end of the wire.