Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
I want to limit the dragging of an object to a certain amount of pixel like you can't drag and drop an object for more than 100 pixel. how would you do that?
Develop games in your browser. Powerful, performant & highly capable.
On Click: Store the current X/Y
then every tick calculate the distance between x2,y2 and the original X,Y (using pythagorean theorem).
if c > 100, stop dragging