Forum Replies Created

  • Ming Hsu

    November 1, 2024 at 2:01 am in reply to: marker.numKeys works sometimes, sometimes not

    m = thisComp.layer(“Shape Layer 1”);

    txt = “”;

    if (m.marker.numKeys > 0){

    n = m.marker.nearestKey(time).index;

    if (time < m.marker.key(n).time) n–;

    if (n > 0) txt = m.marker.key(n).comment;

    }

    txt

    Maybe you can try this 🙂

  • Thank u Dan.

    i solved it!!
    In the end i put this script.

    (“0” + Y ).slice(-1);
    ——————————

    Here’s a little game where I’m making a template.

    The sum of the points of the two cards exceeds 10.
    Only look at single digit numbers.The maximum is 9 and the minimum is 0.


We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy