💬

Community answer

Collected from the ACE community Discord archive around 2023-02-10. It may be informal or outdated — anyone can edit this page to improve it.

EGP button function

💬 GeneralUpdated 2 days ago•0 views
It takes 2 points and checks if it is inrange, so I made a function to simplify the math, the function name is egpPosCorner - you give it id and string to tell …

So you know how buttons in egp work right?

It takes 2 points and checks if it is inrange, so I made a function to simplify the math, the function name is egpPosCorner - you give it id and string to tell the direction 'ul', ur, etc.; next thing you can do is create an egpBox if you are hovering over.

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.