Alice Community  

Go Back   Alice Community > Educators > Teaching with Alice

Reply
 
Thread Tools Display Modes
Make fish move and go away when clicked on
Old
pureshooter98
Junior Member
 
Status: Offline
Posts: 1
Join Date: Aug 2011
Default Make fish move and go away when clicked on - 08-03-2011, 09:27 PM

Hello been going threw the book like crazy and cant find out how to make fish move and disappear when click on can anyone help me?
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
Default 08-04-2011, 06:23 AM

Quote:
Originally Posted by pureshooter98 View Post
Hello been going threw the book like crazy and cant find out how to make fish move and disappear when click on can anyone help me?
You have to use an event and a method. Simply say that when the mouse is clicked on the fish, do the "my first method" method.

In this method put the code to make the fish move and disappear. (If you don't know how to make the fish move and disappear, let me know, and I will tell you how.)
   
Reply With Quote
Reply


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.