Ok, so recently. i made a thing where the humanoidrootpart teleports to where ever your mouse is. i want to know. How can i know if the mouse isn't pointing towards the air.
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
if mouse.Target ~= Enum.Material.Air then
print('...')
end
This is a demonstration. i need help understanding how to go MORE on this. Please. Help.

1 comment
Thank you.