//Argument0 is the begin x //Argument1 is the begin y //Argument2 is the direction //Argument3 is the distance return instance_position(argument0+(argument3*(2/cos(degtorad(argument2)))),argument1-(argument3*(2/sin(degtorad(argument2))))
Well that my code to find if there is a instance in a direction and distance.I made a long time ago and wanted to post it.Beats me what it good for but i was bored.











