Probably should include a screenshot of your D&D blocks involved. What block is trying to execute the move_outside_all()
function? Which instance is the target of the code block? Which object is the code block added to? In any case, given an obj_wall
instance and an obj_player
instance, with obj_player
having a collision event for obj_wall
instances, and a single Execute Code block in it with the line move_outside_all(0, 100);
moves the obj_player
instance to the right so it does not touch the wall, without any error for me.