How do I get a list or all properties in a item?

How do I get a list or all properties in a item?

is there a command for that?

or would I use a for loop to build the list?

Edit:found it

getPropertyNames()

1 Like

Many thanks, that’s what I was looking for.