Scrolling using TouchAction Java

new TouchAction(mobDriver.getWebDriver()).press(0, 200).moveTo(0, -100).waitAction(2000).release().perform();

Appium Client 5.00 BETA6 , Selenium -java 3.3.1

I’m trying to scroll down by 100 pixels , where am i wrong?

the code what you are using seems correct, what is the issue u r getting?