title: How to make a QML animation work only when a property value is increasing not decreasing?
body: <p>From Qt official documentation <a href="https://doc.qt.io/qt-5/qml-qtquick-behavior.html" rel="nofollow noreferrer">here</a> I understand that I can animate the the change <code>x</code> coordinate of a QML item.</p>
  <p>Following works but the issue is that I want the animation to be not activate when value of <code>x</code> is decrementing:</p>
  <pre><code>Rectangle {
      id: some_item
      x: somePropertyValueThatKeepsChanging
  
      Behavior on x {
          NumberAnimation {
              duration: 50
          }
      }
  }
  </code></pre>
  <p><strong>Question:</strong><br />
  How do I make the animation <code>Behavior on x</code> execute only when <code>x</code> is increasing, not when it is decreasing?</p>
  <p>I am using Qt commercial version <strong>5.15.1</strong>.</p>