Maybe worth looking at finished projects in the Exhibition section that do what you want and have the source code available then you can check out how they did it and copy/adapt to your project.
Maybe worth looking at finished projects in the Exhibition section that do what you want and have the source code available then you can check out how they did it and copy/adapt to your project.