What is the best way to interact with tilemap collisions in code

Godot Version

Godot 4

Question

I’ve created a simple script that detects if I am in interaction range with an object, and then from that detection, if the player presses ‘e’, then an action will be performed. This works pretty simply for objects that are instanced or above my TileMap, but I do have assets in the TileMap that I would like the player to be able to interact with, and I would need to access their collisions and signals to do so, but I am not sure how.