~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetDecalPosition|Get]]
* [[4rpl:commands:SetDecalPosition|Set]]
====== GetDecalPosition======
GetDecalPosition(<-decal) ->position
===== Description =====
Gets 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 returned V2 stores the X and Z map positions in the X,Y of the vector2.
===== Examples =====
GetDecalPosition(<-decalID) ->position
printallsp(<-position.x <-position.y)
<=[[4rpl:start| Index]]