tie a pawn to a moving platform

There is this

but do you also want the ball to roll along the platform?