💬

Community answer

Collected from the ACE community Discord archive around 2018-07-26. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Getting the entity a player is looking at

🌙 LuaUpdated 2 days ago•0 views
owner():getEyeTrace().Entity clientside gives the looked-at entity - send it to server via net if needed (client has the render context).

How to get the entity the chip's owner is looking at

owner():getEyeTrace().Entity clientside gives the looked-at entity - send it to server via net if needed (client has the render context).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.