Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Actor x: Difference between revisions

From Cobalt Wiki
fandomwiki>MrTP131@legacy41782976
Created page with "{| border=2 cellpadding=3 cellspacing=0 style="margin: 0 0 1em 1em; border-collapse: collapse;" |- |style="background:#000430; font-size:150%;" colspan="3"|'''Actor.x''' |- |cols..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  local chosenActor = API.getPlayerActor()
  local chosenActor = API.getPlayerActor()
  print(tostring(chosenActor.x))
  print(tostring(chosenActor.x))
[[Category:Official_Modding_API]]
__INDEX__

Latest revision as of 11:07, 11 August 2025

Actor.x
This Property represents the x coordinate of the chosen Actor
Returns
X coordinate as a number
local chosenActor = API.getPlayerActor()
print(tostring(chosenActor.x))