Enable Resizing for Widgets?

Hi,

is there any way to enable resizing for Figma Widgets like you can with Regular Figma Nodes?
I would like to use the width and height of an widget for further logic inside one of my plugin.

Greets,
Gregor