LlGetScale - Second Life Wiki

LlGetScale

From Second Life Wiki

(Redirected from LSL llGetScale)
Jump to: navigation, search

Contents

Description

Function: vector llGetScale( );
48 Function ID
0.0 Delay
10.0 Energy

Returns a vector that is the scale of the prim.


Examples

default
{
    touch_start(integer total_number)
    {
        llSay(0, "My dimensions are: " + (string)llGetScale());
    }
}

See Also

Functions

•  llSetScale Sets the prims size
•  llSetPrimitiveParams Sets prims attributes
•  llGetPrimitiveParams Gets prims attributes