Can u make sprites transparent? In a game trying to make a game for sequencing numbers, if the player puts the number in the correct position (over the transparent sprite) the transparent sprite recognizes this and tell the player they are correct.
Why i want the sprite to be transparent is so that the player cannot c the sprite and its not obstructing the stage.
Help please?
Offline
You certainly can! There are two ways: you can use the "hide" and "show" blocks, or you can change the ghost effect - both ways can be found under the "looks" tab. The ghost effect runs from 0, at full opacity, to 100, making it completely transparent. Some sensing, such as clicking, does not work when the ghost effect is set to 100, nor when the sprite is hidden, meaning it is best to set the ghost effect to 99, at which point it is practically invisible, and you can still sense everything.
Hope that helps!
On a side note, this doesn't seem to belong in Troubleshooting - I will move it to All About Scratch for you
Offline
roger- wrote:
I think clicking works at 100 ghost, because color sensing like (color [ ] touching color [ ] ) works.
Colour sensing works - as does "touching mouse pointer." What I was referring to was the "sprite clicked" hat block
Offline
coolstuff wrote:
roger- wrote:
I think clicking works at 100 ghost, because color sensing like (color [ ] touching color [ ] ) works.
Colour sensing works - as does "touching mouse pointer." What I was referring to was the "sprite clicked" hat block
![]()
I think sprite touching sensing, which is what he is trying to do, works when the ghost affect is 100. Although odd how touching mouse pointer works, but a hat block that essentially means <<touching mouse pointer> and <mouse down>> doesn't.
Offline