bool DRAWING::CursorOnButton( float CursorX, float CursorY, float x, float y, float width, float height ) { if( ( CursorX >= x ) && ( CursorX <= ( x + width ) ) && ( CursorY >= y ) && ( CursorY <= ( y + height ) ) ) return true; else return false; }