The nextFrame() method is a method of the Sprite class. It is used to choose the next frame from a sequence of frames. The general syntax of this method is as follows:
It has a void return type.
Pass SUN scmad - SCMAD Click here to download CX310-110 test study guide and practice question.