Skip to content
lsl.devlsl.devLSL Dev

LlGetMinScaleFactor

Looking for the current API? Open the llGetMinScaleFactor reference →

Return value notes

Returns a float that is the smallest scaling factor that can be used with llScaleByFactor to resize the object. This minimum is determined by the prim scale limits.

Examples

default
{ 
    touch_start(integer total_number)
    {
        float min_factor = llGetMinScaleFactor();
        float max_factor = llGetMaxScaleFactor();
        llSay(0, "Choose a value between " + (string)min_factor + " and " + (string)max_factor
            + " when calling llScaleByFactor() on this linkset.");
    }
}

See also: functions

History

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.