~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetDecalPosition|Get]]
* [[4rpl:commands:SetDecalPosition|Set]]
====== SetDecalPosition======
SetDecalPosition(<-decal <-position)
===== Description =====
Sets the position (V2) of a decal. A decal is specified by its ID (shown in the decal editor pane).
The position is where the decal is on the map. The X,Z map coordinates are stored in the X.Y values of a Vector 2 and are rounded to the nearest int.
===== Examples =====
GetDecalPosition(<-decalID) ->position
printallsp(<-position.x <-position.y)
<=[[4rpl:start| Index]]