Non-Looping/Play-once Flipbook UI Material

Hi, I’m have a simple icon animation made for my UI. I’m using the flipbook node inside my material which has a UI type.

The animation works fine, but it just keeps on looping. And I have tried a bunch of things to make it play only once, but to no avail.

I heard there is a way to do it here: Material flipbook animating too quickly - #4 by RyanB

I want the animation to play once only, and then either reset to first frame, or remain on last frame. The project is not a game, but a remaking of the hollow knight menu for practice. I have only 1 widget … for the main menu.

You should add a Max node after the time node and before the multiply. Set the other side of the Max to 1 or something.