Checks for collision with specified object
instance_place(vec, go)
Vector2
Type
Returns: GameObject
GameObject
Checks for collision with specified object.
var inst = instance_place(Position, typeof(oDontTouch)); if (inst != null) { show_debug_message("Touch!"); }
This code will show debug messahe "Touch!" because when object collide with GameObject oDontTouch variable inst isn't null.
Back to Instances
There was an error while loading. Please reload this page.