Use the < and > operators to check if one value is less than or greater than another value:
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(5 < 6); // Displays: true trace(5 > 5); // Displays: false } } }