I realized that the enemy's location does not update in the custom block because it runs without screen refresh and you aren't physically moving it, it just changes its x and y variable. So its kind of fixed now, it kinda bounces off the walls but I haven't really spent any time at all trying to figure out why so i'm sure you can fix it. It also does still kinda get stuck :( edit: it fully works now. Your welcome :) edit 2: no it doesnt :(