Raycasting a trigger collider?

I have one gameobject with a box collider that i’m using for physics. However, i want a second collider, doubled in size, to be the collider that my “mouse clicking code” will see. One collider is used for physics, the other one for the mouse to raycast properly.

However, how can i raycast a trigger collider?

Solved using Physics.Raycast, instead of collider.Raycast! :smiley: