how would i spawn an object (like an ability) within a range of my player object?

basically i want to cast abilities that have range in a top down camera view

You could add a trigger sphere collider to your player, then make it so that when the collider comes in range of something, the object is instantiated.,