SANDBOX:CanTool
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.
Description
Called when a player attempts to fire their tool gun. Return true to specifically allow the attempt, false to block it.
Arguments
2 table tr
A trace from the players eye to where in the world their crosshair/cursor is pointing. See TraceResult structure