Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
It is not a method it is a property of the atlasTexture Please remember to make the texture an atlasTexture I have made a video to show this, Pleas take not I am using godot 4.1 but it should not matter
Video demonstartion