More on mouse events -
09-22-2014, 08:14 AM
Is there a way to store the values of the objects the mouse selects in a variable? I usually have to make an event for when the mouse clicks on each single object, which gets kinda sloppy. If I said when the mouse clicks on anything, and stored what the mouse clicked in a variable, I could use if/else statements to trigger the right method, making it much easier to code when there are a lot of objects I want the user to click.
-jrr
Arwen: “I would rather share one lifetime with you than face all the Ages of this world alone.”
-April Signature
|