Button animations on mobile devices don't work - java workaround?

Is there any way to get button animations to work on mobile devices? None of my pressed animations show.

If there isn’t. I can fake it using the javascript below:

var obj = prez.object(this.name());
if (obj) {
    // Reduce opacity to 50%
    obj.node.style.opacity = '0.5';
    
    // Move the object 4 px right and 4 px down
    obj.translateBy(2, 2);

    // Wait 1000 milliseconds and move it back to the original position
    setTimeout(function() {
        // Restore opacity to 100%
        obj.node.style.opacity = '1.0';
        
        // Move the object back to its original position
        obj.translateBy(-2, -2);
    }, 150);
}

But if the only way to get it done is to fake it, does anyone know the appropriate way to access changes to the drop shadow in javascript within AP? obj.node.style.dropShadow doesn’t seem to be it as far as I can tell.

On the translate I’d like to make the drop shadow disappear (via visibility or opacity I would imagine), and then reappear after the setTimeout is up.

Hi,

Could you please send your project to support@atomisystems.com so we can take a closer look? Just a single slide showing the issue would be perfect.
Besides, kindly tell us the specific animation, as well as your device and browser information. This will help us check if the animation is working correctly before we move on to the script.

Regards,
Hang