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 create a box that can only be drag in horizontal or vertical, i saw an example that used click. Drag and Drop behavior will only allow me to use one of them at the time, and if i use both i can drag diagonal. i want only 90°.
Check my post here:
Develop games in your browser. Powerful, performant & highly capable.
there are no properties to do it as you ask, but you can fix one of the direction "Axes" for Horizontal or Vertical.
try to change "Axes" propertie of your player drag-drop to HOR or VER.