width

The width property returns and sets the width of an OffscreenCanvas object.

MDN Reference