MathfIsPowerOfTwoOn this pageMathf.IsPowerOfTwo(number value) Returns true if the value is power of two. Parameters: NameTypeDescriptionvaluenumbervalue Returns: typeDescriptionbooleantrue if the value is power of two. Usage ---@type numberlocal value;local val0 = Mathf:IsPowerOfTwo(value)