I’m trying to add an event listener for the speed multiplier in Clock by using the example from https://cesiumjs.org/Cesium/Build/Documentation/Event.html by doing the following:
var evt = new Cesium.Event();
evt.addEventListener(TimeControl.prototype.multiplierListener, this);
evt.raiseEvent(clock.multiplier);
``
This executes my **TimeControl.prototype.multiplierListener **exactly once. I expected to get any change to the clock.multiplier variable, is this correct or have I misunderstood the usage of Cesiums Event handler? Or should it be executed another way to get all changes?
Any help would be appreciated.