Number Property Type
Number properties hold numeric values, such as position, size, opacity, rotation or filter strength. Examples include x, y, width, height, opacity, rotation and fontSize.
The unit of a Number property (for example px, % or deg) is available in its read-only unit property. The full list of Number properties and the elements that support them is on the All Properties page.
Action example
rectangleElement.style.x.value = 100;