Constant Raycast. Is it acceptable?

I want to highlight 3D objects whenever they are under the mouse cursor but I’m guessing for that I need to do a constant raycast every frame.

Up until now I’ve really been doing a raycast on mouse clicks or events so it all seems quite optimal, however, doing it every frame…is that going to be a problem?

Hi @Grimmy! From my own experience I can say that this is not a problem at all.