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
(cos(cangle) * (dist < radius ? dist : radius)) + sanaPad.X
What does < ? : mean, in this formula?
< means the usual, the ? mark is the thing that's special here - it's basically an "if" operator - so if dist is less than radius it uses dist, else it uses the radius.
Develop games in your browser. Powerful, performant & highly capable.
https://www.scirra.com/manual/78/expressions more infos here
Oh yea, thank you. Now it becomes clear.