How to set up mouse inputs for a snooker-pool style game?

Hi all, I’m looking for a solution that for me seems a bit quite difficult to find out. I would like to have, when you click over an actor and drag the mouse in a backward direction, a power bar that appear and show how many power you have to use. Once released your mouse button the actor will move to a certain distance and direction depending on how much power you have used. Any answers or help will be much appreciated!
Thanks!