alice-teacher While key is pressed event?

James Vanderhyde jvanderhyde at benedictine.edu
Thu Apr 7 13:39:37 EDT 2011


"While a key is pressed" event is already available, but it's hidden. Create a new event "When a key is typed." Then right-click on the event and select "Change to." "While a key is pressed" is there. Is this what you had in mind?

James
--
Dr. James Vanderhyde
Math and Computer Science
Benedictine College
jvanderhyde at benedictine.edu
http://vanderhyde.us/~james/pro/



On Apr 6, 2011, at 4:00 PM, Michael Bauer wrote:

> Has anyone implemented a "while key is pressed" event?  I'd envision this event to continue to repeat code while the key is pressed and stop when the key is released - rather than one iteration of the code every time the key is pressed.
> Thanks,
> Mike.



More information about the alice-teachers mailing list