Thank you for your help!
My camera works fine.
My problem is that I don’t know how to handle the On Clicked events.
Right now, when I click on the bookshelf, my camera does move. What I would like is that if my bookshelf is not focused, then the ‘On Clicked’ on my books would trigger the camera movement. But then, if the book shelf is focused, it’s the events of the books that should get triggered.
And my problem with this is that there are several bookshelves and several books in my level, so how do I go about : “If you click on this book, then focus the bookshelf it belongs to. And then, if you click again on this book, then read it.” Or how do I go about disabling all the events of my books so the On clicked triggers the bookshelf beneath it, and then enable all input of my books once the bookshelf is focused.
This what I run when I click on the bookshelf (or trigger the camera movement)
This is what I have on my books
This does not function properly but I don’t know why.
Hopefully, this makes sense.