How to detect if the game object was clicked

or you can simply check if point in aabb (or aabb in aabb)