I cant get the touch screen working on my 2432S024C

When I ran a simple gadget example project from squareline studio the touch screen did not work… I tried configuring a lot of things but it didn’t work.