Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Thread Tools Display Modes
How to add KeyListener?!
Junior Member
Status: Offline
Posts: 2
Join Date: Sep 2012
Default How to add KeyListener?! - 10-13-2012, 04:55 PM

In Alice 2.2 I could simply ask what key was pressed.
I dont know how to do it in 3.1.

There is a method in Scene:

But I can't use it?!
Reply With Quote
Add KeyListener
Status: Offline
Posts: 179
Join Date: Jan 2007
Default Add KeyListener - 10-14-2012, 08:45 AM

Click on the Scene tab in the editor, and click on the edit button for the procedure initializeEventsEditor... There you can add and modify the addKeyListener event...

Don Slater
Alice Team
Carnegie Mellon University
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 ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.