I’d like some condition object that would execute actions linked to condition only once, unless one of conditions changes.
Example:
Mouse button is pressed -> move object by 3 pixels
would constantly move object unless you let go mouse button.
Mouse button is pressed
-> move object by 3 pixels
Once
would move object only one time when all other conditions are met. When one of conditions changes, whole thing is re-evaluated and executed again when all conditions are met. In this case, it would be moved by 3 pixels only after initial click (no matter how long you pressed button), then after letting mouse button go and clicking again, it would be moved again by 3 pixels - only once.