~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:GetDecalSize|Get]] * [[4rpl:commands:SetDecalSize|Set]] ====== SetDecalSize ====== SetDecalSize(<-decal <-size) ===== Description ===== Sets the Size (V2) of a decal. A decal is specified by its ID (shown in the decal editor pane). The width should be in the x postion of the supplied vector2 (V2) and the depth should be in the y position. Values for width and depth will be rounded to the nearest integer values. ===== Examples ===== GetDecalSize(<-decalID) ->size printallsp(<-size.x <-size.y) <=[[4rpl:start| Index]]