Information
Numerical variables in Unreal Engine do not always make their meaning obvious. A value of 100 could represent centimeters, seconds, degrees, a percentage, or something completely different.
By adding a Unit to a Blueprint variable, you can make that information visible directly alongside its value. This makes variables easier to understand and reduces the need to explain their expected values through names or tooltips.
Prefer watching a video instead? Check out our Video Tutorial on this topic.
Add a Unit to a variable
Create or select an Integer or Float variable in the My Blueprint panel. In the variable's Details panel, find the Units setting and select the unit that represents the value.
The selected unit will then be displayed alongside the variable's numerical value in supported editor fields.
Units can handle conversions
Unreal Engine's unit system can also understand compatible measurement units. This means values can be entered using a different compatible unit and converted to the unit used by the property.
For example, instead of typing 200 cm, I can type 2 m, and it automatically converts the value to 200 cm.
Available units
There are 78 EUnit entries in Unreal Engine 5.8.
| Category | Available Units |
|---|---|
| None | Unspecified |
| Distance / Length | Micrometers, Millimeters, Centimeters, Meters, Kilometers, Inches, Feet, Yards, Miles, Lightyears |
| Angle | Degrees, Radians |
| Speed / Velocity | Centimeters Per Second, Meters Per Second, Kilometers Per Hour, Miles Per Hour |
| Angular Speed | Degrees Per Second, Radians Per Second |
| Acceleration | Centimeters Per Second Squared, Meters Per Second Squared |
| Temperature | Celsius, Fahrenheit, Kelvin |
| Mass | Micrograms, Milligrams, Grams, Kilograms, Metric Tons, Ounces, Pounds, Stones |
| Density | Grams Per Cubic Centimeter, Grams Per Cubic Meter, Kilograms Per Cubic Centimeter, Kilograms Per Cubic Meter |
| Force | Newtons, Pounds Force, Kilograms Force, Kilogram Centimeters Per Second Squared |
| Torque | Newton Meters, Kilogram Centimeters Squared Per Second Squared |
| Impulse / Momentum | Newton Seconds |
| Positional Impulse | Kilogram Centimeters, Kilogram Meters |
| Loudness | Decibels |
| Frequency | Hertz, Kilohertz, Megahertz, Gigahertz, Revolutions Per Minute |
| Data Size | Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes |
| Luminous Flux | Lumens |
| Luminous Intensity | Candela |
| Illuminance | Lux |
| Luminance | Candela Per Meter², Nit |
| Exposure | EV (Exposure Value) |
| Time | Nanoseconds, Microseconds, Milliseconds, Seconds, Minutes, Hours, Days, Months, Years |
| Pixel Density | ppi (Pixels Per Inch) |
| Other | Percentage, Times (Multiplier) |
| Pressure / Stress | Pascals, KiloPascals, MegaPascals, GigaPascals |