if you will spread your purple 'posicion' blocks out 64 from the player instead of just 32, so they only overlap one block at a time,
you can just add this to the "MoveHero" function:
posicion is overlapping cubitos AND cubitos animation frame = 1 >> set canmove to 0