# Question about ? and 1:0 (example)

**URL:** <https://forum.kirupa.com/t/question-about-and-1-0-example/191390>\
**Category:** flash\
**Created:** [June 20, 2006, 4:39am UTC](https://forum.kirupa.com/t/question-about-and-1-0-example/191390 "2006-06-20T04:39:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woad](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@woad](https://forum.kirupa.com/u/woad)\
**Post date:** [June 20, 2006, 4:39am UTC](https://forum.kirupa.com/t/question-about-and-1-0-example/191390/1 "2006-06-20T04:39:14Z")

</div>

I’ve used a code that makes a ball bounce around the screen and it uses the " ? " and the " : " in some of the lines and I’m wondering how they work and what they do since I don’t really understand and can’t find info about them.

\_x\>450-\_width ? Xspeed \*= -1 : 0

There’s an example. What does that do exactly?
