Using Variables in WP and PG Interactions

Hey,

I try to create a Wordpress block with a Pinegrow Interaction animation. The Animation sets a src value of an element. I would like to be able to type in the src attribute in the Wordpress block editor.

Maybe the best way is to set a block attribute and define a variable which I can use in the Interactions?

Does anyone has an idea?