Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Currently I cannot find anyway to stop Middle and Right mouse button from triggering the DragDrop behaviour.
Do you know any workaround, by JS maybe? Or is it just something I'll have to build myself?
Thx in advance.
Develop games in your browser. Powerful, performant & highly capable.
This should work :
Middle mouse button
or Right mouse button is down : object disable drag drop
Left mouse button is down : object enable drag drop
What plinkie said will work...
Or you could also use...
+ Mouse: Right button is down
+ OR Mouse: Middle button is down
-> Sprite: Drop DragDrop
I found out that these lines work best because using "is down" instead of "press" and "release" will have a couple of frames where the DragDropped object is still a little bit dragged.
Thanks for the light.