#Checking type returned by instance_place

1 messages · Page 1 of 1 (latest)

sharp tartan
#

Is there a way to check whether the id return by instance_place is an object, tilemap, or something else? My collision code passes in an array that includes both objects and tilemap and returns the id of what the player collided with. However, I need to be able to not if it was a tilemap or object that was collided with.