Skip to main content
M
7d ago

Nested Artboard with no events

Hello, I am getting a message saying my nested artboard has no "events", so I cant add a listener to it. Yet the artboard does have animations and a functioning state machine, its fully animated and even gets triggered in the parent artboard. I want to add another layer of interaction in the parent artboard

6 replies
M
5d ago

Hi Can you share the . rev file to take a look?

M
5d ago

hello Yes, sharing it here. As a note, I added a hitbox over the Sound Icon (nested artboard). Which works this way. Though it should work without. The Listerners are SOUND ICON OFF and SOUND ICON ON. RIght now they are set to HITBOX as target. When selecting the SOUND ICON as target thats when it says artboard has no events.

Thanks!

mixer_multi_v3_mvw (2).rev
2 MB
4d ago

Yes. This is correct. The nested artboard cannot be used as a target, so you can do two things. Use a shape as you have in the file or, better, create the interaction in the button with a listener and have this listener fire an event. Then in the main artboard when you click on the button, you can use the event to fire the input you want.

M
4d ago

ok, thank you for clarifying and suggesting the other method! When you mention "event" thats different from using the event tool?

4d ago

No, it is the same type of event, but on the button you fire it using the listener and on the main artboard you listen to it to trigger an input. For example, let’s say I want to add a button to a main artboard. For this I create the button on another artboard with the interaction using a listener. To this interaction I add an event, using the event tool, that is triggered every time I click on the button. Then on the main artboard, you add the button using the nested artboard option and create a listener using the button’s nested artboard as the target. This is where we listen to the button event and you can configure it so that every time it is triggered, it triggers an input.

M
3d ago

Ok, thank you! I will try this out.