Skip to content
lsl.devlsl.devLSL Dev

PRIM_SIZE

constant
Constant
integer PRIM_SIZE = 7;

Prim parameter [PRIM_SIZE, vector size] to get or set the prim's physical dimensions (equivalent to llGetScale/llSetScale).

Constant groups

PrimParam · PrimParamGet

Other PrimParam values (42)
Other PrimParamGet values (40)

Returns or sets the prim’s size.

Example 1
//Changing the prim size and rotation
default
{
touch_start(integer total_number)
{
llSetPrimitiveParams([
PRIM_SIZE, <0.25,0.5,1.0>,
PRIM_ROTATION, <1.0, 0.0, 0.0, 0.0>
]);
}
}
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.