I’m playing around with animations and I want to have an interaction on a particular div on the desktop view but a slightly different interaction on the same div on the mobile view.
An example of this would be that for the desktop view the div would move down 50px but for the mobile view it would only move down 15px, or perhaps not move at all.
However, when I try to change or disable the interaction on one view it changes it for all views on that div. Even if I create a combo class for the mobile view and change the interaction on that it still doesn’t work…
It will not work in the way you are trying to do this. When you are adding combo class you are applying it to the HTML element, so it does not depend on screen view.
Also, there is no way to turn off the interaction for the particular view. You can only create several identical elements, apply different interactions to them and hide one of the elements with on the view that you don’t need it.