I am trying to change animation of this treeentrance01 sprite..
I have two animation layers, one named TreeEntrance and the other TreeColorChange.
the code is in line 38-40
my way of thinking is..
when player collides with treeentrance01(sprite) make var TreeEntranceColorChang=1
when the player collides with the entrance and the Var(treeentrancecolorchange) is 1
set animation to "treecolorchange"
treeEntranceColorChange = 0 set animation to TreeEntrance
not sure...why its not working...
I know how to set a state for when something is colliding but not sure how to set it for when it isnt?