×

OnRackInitOrMove

 

The "OnRackInitOrMove" event is executed as soon as the player move or spawn a shelf;

This also provides the following information:

Input:

  • UniqueID - INTEGER64 - gives a unique number that identifies the rack; this identifier does not change when the rack is moved or a new day starts, but it is changed as soon as the game restarts.
  • Transform - TRANSFORM - It gives the position and rotation of the rack (the size too, but it always remains at 1)
  • (to get more information on the rack please use "GetRackDetails" Documentation for GetRackDetails)