Actor x: Difference between revisions
From Cobalt Wiki
More actions
Koza1brada (talk | contribs) m 1 revision imported: Try to import fandom pages (manual dump, 3) |
Koza1brada (talk | contribs) No edit summary |
||
| 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))