How do I use mouse.Target to set the brick that I click?

like 'when player clicks' brick = mouse.Target

or something like this.