Hey there!
I took a look around at the forums and youtube and I can't seem to find a good explanation for this so I Thought I'd come back here.
Currently, I have a sprite for the character, and when he collides with an object in the layout I want it to change it's opacity to 50%, and then when he's no longer touching that object, have it's opacity return to 100%.
Currently, I'm using a Boolean variable that when the sprite touches the object, it sets it to true and changes the opacity.
However, I can't seem to find a way to tell it "Or else, change to false" can anyone help, or give me a better way to do this?