Lockpick with Widget

is there a forum or a answerhub with a similar question on how to make a lockpick with widget like in assassin creed unity? i just need a starting point on how to make the bar go up and down and hit on target to unlock.

113789-105991837.jpg