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
2
u/Mrmoo2andahafe Oct 12 '26
Do an if statement in your loop, have that if statement check if the event is the mouse click. Have if statements within that if statement for every position on the screen you would like to check, if it moves use variables to track where it is. If you need it to persist on restart have a text doc with the info. Edit: typo