Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make sprite letter change when the mouse touch it?
- Sok_keang
-
15 posts
How to make sprite letter change when the mouse touch it?
I want to know how the sprite letter change or the letter that you actually make it yourself change to other costume or other letter when the mouse touch the letter?
- master_tolkien
-
100+ posts
How to make sprite letter change when the mouse touch it?
Use this as an example, but instead of making the letters turn red, make one letter change its appearance.
Last edited by master_tolkien (Feb. 11, 2015 20:48:52)
- Georgie-4-eva
-
5 posts
How to make sprite letter change when the mouse touch it?
I have a similar problem. Could someone tell me how to make my sprite change it's appearance if the mouse hovers over it
- Georgie-4-eva
-
5 posts
How to make sprite letter change when the mouse touch it?
when i use:
when green flag clicked
if <touching ?> then
switch costume to
end
it never works!
when green flag clicked
if <touching ?> then
switch costume to
end
it never works!
- deck26
-
1000+ posts
How to make sprite letter change when the mouse touch it?
You need a forever loop around that or it will only run once when the project starts and be finished long before you move the mouse over it. when i use:
when green flag clicked
if <touching ?> then
switch costume to
end
it never works!
- Seth2764
-
1 post
How to make sprite letter change when the mouse touch it?
same I have a similar problem. Could someone tell me how to make my sprite change it's appearance if the mouse hovers over it
- helloworldbyeworld
-
1000+ posts
How to make sprite letter change when the mouse touch it?
There are two reasons why the plain if-statement will not work.
1. It’ll only check out once, as many people mentioned.
2. If it checks continuously, it will keep changing the costume, which is not good for most purposes.
Here’s a script that does work:
1. It’ll only check out once, as many people mentioned.
2. If it checks continuously, it will keep changing the costume, which is not good for most purposes.
Here’s a script that does work:
- Discussion Forums
- » Help with Scripts
-
» How to make sprite letter change when the mouse touch it?