blob: 94d57339b1dab01b888224fd0350f39b8eadbbbc (
plain)
1
2
3
4
5
6
7
8
|
LLAgent = require 'LLAgent'
local screen_pos = LLAgent.getAgentScreenPos()
if screen_pos.onscreen then
print("Avatar screen coordinates X: " .. screen_pos.x .. " Y: " .. screen_pos.y)
else
print("Avatar is not on the screen")
end
|