r/ComputerCraft • u/Budget-Specific-349 ComputerCrafter • Oct 12 '26
Help with graphics
So i'm making an interface for a terminal. How do i make the available commands look different when hovered over and run a program when clicked?
4
Upvotes
View all comments
Show parent comment
3
u/9551-eletronics Computercraft graphics research Oct 12 '26
Comparisons. This just gives you a click positions, to check if its an area just do mathematical comparisons for a bounding box check, I usually make a helper function like this
https://github.com/9551-Dev/GuiH/blob/main/util.lua#L7