Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- property Item target // target is the Image object being moved
- property double targetX: target.x
- property double targetY: target.y
- onTargetXChanged: {
- /* if object is out of specified area move x respectively */
- }
- onTargetYChanged: {
- /* if object is out of specified area move y respectively */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement