Skip to content

llScaleByFactor

function ll.ScaleByFactor(ScalingFactor: number): number

Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.

Resizing is subject to prim scale limits and linkability limits. This function can not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.

Returns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.

Parameters
ScalingFactor (number)
The multiplier to be used with the prim sizes and their local positions.

Add example usage here showing SLua/Luau syntax with ll.ScaleByFactor().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.