| Value | Meaning |
|---|---|
| mathSin0 | Return the sine of the input. |
| mathCos1 | Return the cosine of the input. |
| mathTan2 | Return the tangent of the input. |
| mathSinh3 | Return the hyperbolic sine of the input. |
| mathCosh4 | Return the hyperbolic cosine of the input. |
| mathTanh5 | Return the hyperbolic tangent of the input. |
| mathAsin6 | Return the arc sine of the input. |
| mathAcos7 | Return the arc cosine of the input. |
| mathAtan8 | Return the arc tangent of the input. |
| mathAtan29 | Return the arc tangent of the input, using the signs of both parameters to determine the exact angle. |
| mathSqrt10 | Return the square root of the input. |
| mathFmod11 | Return the remainder of one input divided by the other, using floating-point numbers. |
| mathFposmod12 | Return the positive remainder of one input divided by the other, using floating-point numbers. |
| mathFloor13 | Return the input rounded down. |
| mathCeil14 | Return the input rounded up. |
| mathRound15 | Return the input rounded to the nearest integer. |
| mathAbs16 | Return the absolute value of the input. |
| mathSign17 | Return the sign of the input, turning it into 1, -1, or 0. Useful to determine if the input is positive or negative. |
| mathPow18 | Return the input raised to a given power. |
| mathLog19 | Return the natural logarithm of the input. Note that this is not the typical base-10 logarithm function calculators use. |
| mathExp20 | Return the mathematical constant e raised to the specified power of the input. e has an approximate value of 2.71828. |
| mathIsnan21 | Return whether the input is NaN (Not a Number) or not. NaN is usually produced by dividing 0 by 0, though other ways exist. |
| mathIsinf22 | Return whether the input is an infinite floating-point number or not. Infinity is usually produced by dividing a number by 0, though other ways exist. |
| mathEase23 | Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. |
| mathDecimals24 | Return the number of digit places after the decimal that the first non-zero digit occurs. |
| mathStepify25 | Return the input snapped to a given step. |
| mathLerp26 | Return a number linearly interpolated between the first two inputs, based on the third input. Uses the formula a + (a - b) * t. |
| mathInverseLerp27 | |
| mathRangeLerp28 | |
| mathDectime29 | Return the result of 'value' decreased by 'step' * 'amount'. |
| mathRandomize30 | Randomize the seed (or the internal state) of the random number generator. Current implementation reseeds using a number based on time. |
| mathRand31 | Return a random 32 bits integer value. To obtain a random value between 0 to N (where N is smaller than 2^32 - 1), you can use it with the remainder function. |
| mathRandf32 | Return a random floating-point value between 0 and 1. To obtain a random value between 0 to N, you can use it with multiplication. |
| mathRandom33 | Return a random floating-point value between the two inputs. |
| mathSeed34 | Set the seed for the random number generator. |
| mathRandseed35 | Return a random value from the given seed, along with the new seed. |
| mathDeg2rad36 | Convert the input from degrees to radians. |
| mathRad2deg37 | Convert the input from radians to degrees. |
| mathLinear2db38 | Convert the input from linear volume to decibel volume. |
| mathDb2linear39 | Convert the input from decibel volume to linear volume. |
| mathPolar2cartesian40 | Converts a 2D point expressed in the polar coordinate system (a distance from the origin r and an angle th) to the cartesian coordinate system (x and y axis). |
| mathCartesian2polar41 | Converts a 2D point expressed in the cartesian coordinate system (x and y axis) to the polar coordinate system (a distance from the origin and an angle). |
| mathWrap42 | |
| mathWrapf43 | |
| logicMax44 | Return the greater of the two numbers, also known as their maximum. |
| logicMin45 | Return the lesser of the two numbers, also known as their minimum. |
| logicClamp46 | Return the input clamped inside the given range, ensuring the result is never outside it. Equivalent to min(max(input, range_low), range_high) |
| logicNearestPo247 | Return the nearest power of 2 to the input. |
| objWeakref48 | Create a WeakRef from the input. |
| funcFuncref49 | Create a FuncRef from the input. |
| typeConvert50 | Convert between types. |
| typeOf51 | Return the type of the input as an integer. Check Variant.type for the integers that might be returned. |
| typeExists52 | Checks if a type is registered in the ClassDB. |
| textChar53 | Return a character with the given ascii value. |
| textStr54 | Convert the input to a string. |
| textPrint55 | Print the given string to the output window. |
| textPrinterr56 | Print the given string to the standard error output. |
| textPrintraw57 | Print the given string to the standard output, without adding a newline. |
| varToStr58 | Serialize a Variant to a string. |
| strToVar59 | Deserialize a Variant from a string serialized using VAR_TO_STR. |
| varToBytes60 | Serialize a Variant to a PoolByteArray. |
| bytesToVar61 | Deserialize a Variant from a PoolByteArray serialized using VAR_TO_BYTES. |
| colorn62 | Return the Color with the given name and alpha ranging from 0 to 1. Note: names are defined in color_names.inc. |
| funcMax63 | The maximum value the _function property can have. |