# How to resize only width and leave height of a frame node unchanged

How to resize only width and leave height of a frame node unchanged?
`resize()` function asks me for two properties and can’t leave the one for height empty.

Just specify the node’s current height.

I get error saying it is read only property:

When I use `resize()` I need to specify height as well, which I am trying to leave unchanged.

I meant that you need to specify the node’s current height in the resize() method.

``````node.resize(200, node.height)
``````