I'm really really sorry if this is somehow posted in the wrong place... this is the first time I'm using this site >g<
So, in my game, there's now a water-flower-monster thing and I want it to have a random walking route. But I only want it to be able to walk in the water.
I don't want it to walk on the green tiles. The Player should only be able to walk on the green tiles though.
Here's a little example:

and now I wonder how I could do that?
I'd be really happy if someone could help me!
I hope people understand what I'm trying to say! >-<
So, in my game, there's now a water-flower-monster thing and I want it to have a random walking route. But I only want it to be able to walk in the water.
I don't want it to walk on the green tiles. The Player should only be able to walk on the green tiles though.
Here's a little example:

and now I wonder how I could do that?
I'd be really happy if someone could help me!
I hope people understand what I'm trying to say! >-<