The enemy begins to move when entering the scene (resolved)

Yes, but I repeat, my enemy does not have artificial intelligence. It just moves forward and backward. like mario’s enemies