Thanks very mucho, it's easy when you know how. Now, I'm trying to create the code to rightclick the button to remove it from the array. I've tried mulitple things but I think this is the closest I've gotten.
on btn_matoverrideexclude rightclick do
(
for i in selection do deleteItem renderers.current.overrideMtl_exclude i
)
But the error is:
-- Runtime error: array index must be positive number, got: $Box:Box003 @ [809.705383,50.000000,264.243652]
I've look up forums but no code seems to work.