nevermind, i created a new project and looked from that and the function is showing, just wasn't showing for me when i tried looking for it in the example project you sent me
Haa it may be that you had it already added to your project because once you added to your project you will not find it anymore on ad new objects because is already there and ready to use:
This is the how is working on this new capx:
Everything starts if you touch a tile
On touched Tile:
And the tile is not active meaning is untouched yet >> then choose random animation
Then if the chosen animation is equal to "Enemy" then we call for the overlap check on the neighborhood
Else: if is not the "Enemy animation" then we don't check overlaps just set the tile to active meaning that has been touched already you cant touch it anymore, and set the "Animated" to true this is to avoid any more animation change on this tile as will happen the scenario that will check for overlaps in different tiles and their neighbours and this one will be chosen again so by checking the "Animated to true" will be skipped
If the Enemy has been chosen:
Then The Function "CheckOberlaps" will check and do:
-First, we filter to do the check to the none "Active Tiles"
-One more filter don't check for the enemy tile which is = to Function.Param(0)
-Then we proceed with the condition to check for the overlap
Action: All the tiles overlapping and that meet the above Conditions >>set them to Active true
Nex event on the Function:
Pick the Enemy tile who called the Function = Function.Param(0)
Action: set him to (Active & to Animated) true to avoid any further checking or animation change on him
Last event on the Function:
Now we pick all the ones that where Overlapping and the ones that haven't been animated yet = meaning still untouched
Action: Then change animation & random choose Frames
Action: set them all of them to animated = you cant touch them anymore