How to play an animation backwards with an AnimatedTexture resource (in code)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Modley

Basically, I have an AnimatedTexture that I use in a TileMap to create conveyer belts. I want to have an export variable to set the direction of the conveyer belt, and it works perfectly fine. The thing is, I want to flip the AnimatedTexture when that export var is set to change the direction, or whatever. Is there a way to do that? Preferably by code.

:bust_in_silhouette: Reply From: Modley

Oh my god I am so stupid. I can just use the buttons on top to flip the tiles xD Welp, problem fixed now!