Balance Board

today I wanted to create a balance board(like a "Libra")
in my game, but I actually don't know how this works! Here is a small video: http://www.youtube.com/watch?v=WYfXMWFlIiA
At 0:52mins in the video it is demonstrated what I am looking for :)
Do you have an idea how I can implement it?
Thank you!