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
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
Is there an auto-center positioning feature for UI elements??
No, but that's because Construct2 has no specific UI elements feature.
It is easily done by events though.
ui element set x : viewportleft(0)/2
this will only work if the origin of the UI element is in it's center.
Develop games in your browser. Powerful, performant & highly capable.
how do i set or actual check the origin of the UI element is in it's center.
in the properties panel you can set the object's hotspot to center.
also in the image editor you can set the sprite's origin wherever you want.
if it is not in the center, but top-left use viewportleft(0)/2-sprite.width/2
thats good to know.