Mouse.Target going through the player

Not sure if this is a bug or my code…

If my mouse is on a player and I get the mouse.Target, it will never give me the player. For some odd reason, it goes straight through. That’s about all the information I know about it. If there is a way to bypass it then that would help. Thanks.

Are you able to show us video proof, or send your code so we can see what’s actually wrong here?

Mouse.Target never hits any descendant of your player’s character. If you want to get an element of your character that your mouse is hovering over, you’ll have to use raycasting.

Ohh, ok. Thanks for the help. I wasn’t sure if raycasting would go through the player too.