Attacking a mob (melee combat): place the tool in an active hotbar slot and press or hold left mouse button to strike the target.