Function setNextFrameDisableMove