ability to set the init state with mouse clicks