Drop an object on a moving trolley

 

The "Start" button will become the "Drop" button after it is pressed.

The ground on which the trolley moves is frictionless.