Someone please guide me way to fix this
-
Copy and paste the sample code in the Tutorial and run it. Change one thing at a time until it works how you want it to.
-
Copy and paste one of the example scripts in the examples folder and run it. Change one thing at a time until it works how you want it to.
Hope this helps!
The way forward always starts with a minimal test.