g3n/engine

How to tell if the click is on the UI or an object in the game

529124368 opened this issue · 1 comments

Excuse me, I use the ray to click the screen to move, but how do I judge whether the click is the UI or the scene in the game, and how to set the penetration filter of the ray

I think raycasting never hits GUI elements, if that's happening please open an issue