So below is a video to what i have a problem to and ill state what i want to achieve
so when i hover over the ammo a highlight is visible and when i don’t it is not visible.
But when i equip the Uzi tool and i hover over the ammo the highlight is not visible.
I wouldn’t really recommend you use Mouse, considering its old, and has been superceded by UserInputService which contains a lot more support for other devices, and Input Detection (This is assuming it will be on Multiple Devices)
But for a Mouse Based solution, you would be looking at Mouse.Hit, as it returns the Object that the Mouse is pointing at, you can use CollectionService to tag the objects, an check if they had been tagged with a specific tag.
if Hit:HasTag("Example") then
-- do something
end
Edit: Hit returns a CFrame, Target Returns an Instance