How do I control images using the right click and left click? I would like to be able to click through a certain set of images using right click, and another set of images using left click (basically images change based on whether you right click or left click). Is there a way I can do that?
Offline
No.
Offline
Sorry, Scratch currently does not support sensing between left and right click. Some Scratch Modifications do, though!
Offline
Yes, it is possible.
<when[ mysprite ]clicked>
<if><mouse down?>
This is left clicked
<else>
This is right clicked
<end>
Just so you know, this only works offline and online using the java player. The new Flash player does NOT support right-clicking anything. And, since the site is migrating to the new Flash player, this method will not work for long.
Last edited by BoltBait (2011-04-05 12:57:42)
Offline
BoltBait wrote:
Yes, it is possible.
<when[ mysprite ]clicked>
<if><mouse down?>
This is left clicked
<else>
This is right clicked
<end>
Just so you know, this only works offline and online using the java player. The new Flash player does NOT support right-clicking anything. And, since the site is migrating to the new Flash player, this method will not work for long.
Wow! I never knew that, thanks!
Offline