Linking a module's CSS to another's script

I need to use a multixy’s script as it is the only way to access its touch state.

However I want to use this information to change another module’s z-index, which is modified in its CSS field.

How do I connect the two entities?

Create a variable widget, change its value from the script using set(), and use its value in the css field using @{variable_id}.

1 Like