EGP parentToCursor alternative
💬 General•Updated 2 days ago•0 views
Use Cursor = Egp:egpCursor(User) to get the cursor position, then check e.g. if(Cursor:distance(Egp:egpPos(I)) < 25) to see if the cursor is over the element - …
EGP:parentToCursor(E) isn't working - how do I detect the cursor over an EGP element instead?
Use Cursor = Egp:egpCursor(User) to get the cursor position, then check e.g. if(Cursor:distance(Egp:egpPos(I)) < 25) to see if the cursor is over the element - that pattern is used for buttons.