|PC||Mac OSX||Oculus Quest|
Make this object attach itself to the player object, learn more about setParent for information on using this command and what it does.
Note, this parents the object to the player at the offset (or distance from Player) it currently sits at, so it needs to be placed in the scene close to the player object to appear attached.
if obj.firstRun() then
player = obj.tryStore("Player")
if player > -1 then