This codemod replaces viewportBottomLeft with viewportUV.flipY()
Example
Additional Information: But keep in mind we have to remove viewportBottomLeft manually from the import statement. In this version it does not remove viewportBottomLeft from import statements.
Before
backgroundNode = texture(background, viewportBottomLeft).setUpdateMatrix(true);
After
backgroundNode = texture(background, viewportUV.flipY()).setUpdateMatrix(true);
Before
nodeUV = viewportBottomLeft;
After
nodeUV = viewportUV.flipY();
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community