Attaching gesture script to sprite background in 2D game not working

I am using Lean Touch gesture addon, and I am coming up with an issue. I am creating a 2D game, and I have attached my script to a sprite background, but when I swipe, it literally does nothing. It registers the finger under LeanTouch component, and it isn’t showing any more errors, but it just doesn’t switch cameras like I was hoping it would. Is it possible to do what I am trying to do, or would I need to create a canvas or something like that to attach the script? It seems that swiping directly on the sprite background isn’t working.

Let me know if you need any more info. I’m hoping this is just a simple answer, but alas, few things are :slight_smile:

Thanks in advance for any help!

cstobler

Well, I did a lot more troubleshooting, and I found out that it works, there was another plugin that wasn’t working that was causing the issue.