I am trying to make a GUI editor so-to-speak. Basically I have a toolbox at the bottom of the screen with many buttons. This is a DirectFrame with many DirectFrames parented to it. How do I make it so that I can click these custom ‘buttons’ i have created? I basically want to be able to test if the mouse is within a region of the screen. Any ideas?
Any DirectGui object, including a DirectFrame, can be made clickable by setting its state to “normal” (as opposed to the default, which is “disabled” for a DirectFrame):