I'm trying to make a miner game and with not much knowledge on which is better. I've decided to ask a question. So whats best to make a pickaxe use? so when you mine a rock it detects if its near the player and if we can mine it or not.
QUESTION: Is using Mouse.Target == 'Rock' good for this pickaxe or touch event?
It depends.
It's your choice
Are you using it as a tool which you can swing? What's your position on it needing to touch the rock? If it should at least look like it's touching the rock, you should do well to use Touched
and check the name of the object you hit. If it's not a necessity, and input is more important to rely on, then mouse.Target.Name
will provide a suitable value to check against (In conjunction with the magnitude of the difference in positions)