Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
More on mouse events
Old
jrrTolkien
Senior Member
 
jrrTolkien's Avatar
 
Status: Offline
Posts: 166
Join Date: Feb 2014
Location: Middle-Earth (Merrimack, NH)
Lightbulb 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
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.