Interaction with the multi page turn actor
Create a Third Person Template Project
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-43-42.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-43-42.png?version=1&modificationDate=1570356471000&api=v2)
Add Old Animated Books to your Project
- Start the Epic Games Launcher
- Select Unreal Engine
- Select Library
- Select Add to Project
- Select your newly created project
![]()
Modify the "BP_MultipageTurnActor"
You may also duplicate the actor instead of modifying it, but this will require also to duplicate the AnimBluePrint and adjusting all the casts and references. For simplicity we will modify the existing actor:
- Open the MultipageturnActor
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-48-26.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-48-26.png?version=1&modificationDate=1570356470000&api=v2)
- Remove the auto page turning logic:
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-49-34.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-49-34.png?version=1&modificationDate=1570356470000&api=v2)
- Add the following Nodes:
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-51-35.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-51-35.png?version=1&modificationDate=1570356470000&api=v2)
Add Two Custom Events- TurnForwardPublic for accessing the turn forward logic outside (with our third person character)
- TurnBackPublic for accessing the turn back loogic from outside (with our third person character)
- Add a camera to the view port of the actor and name it "camera"
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-5-9.png](http://web.suricoon.com/confluence/download/thumbnails/7798841/image2019-10-6_12-5-9.png?version=1&modificationDate=1570356470000&api=v2)
Place the camera as follows:![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-7-9.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-7-9.png?version=1&modificationDate=1570356470000&api=v2)
- Add a Box Collision to the Viewport
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-28-54.png](http://web.suricoon.com/confluence/download/thumbnails/7798841/image2019-10-6_12-28-54.png?version=1&modificationDate=1570357735000&api=v2)
Place the Box collision as follows:![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-29-29.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-29-29.png?version=1&modificationDate=1570357770000&api=v2)
- Save and Compile
Modify the Third Person Character
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-54-3.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-54-3.png?version=1&modificationDate=1570356470000&api=v2)
- Add a Box Component to the Third Person Character:
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-57-11.png](http://web.suricoon.com/confluence/download/thumbnails/7798841/image2019-10-6_11-57-11.png?version=1&modificationDate=1570356470000&api=v2)
- Place the Box like this:
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_11-59-7.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_11-59-7.png?version=1&modificationDate=1570356470000&api=v2)
- Add Overlapping Events
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-1-0.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-1-0.png?version=1&modificationDate=1570356470000&api=v2)
One for Begin Overlap![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-1-40.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-1-40.png?version=1&modificationDate=1570356470000&api=v2)
One for End Overlap - Create the following overlap logic
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-23-48.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-23-48.png?version=1&modificationDate=1570357429000&api=v2)
- We will start Interaction with the book by pressing "E", then we will listen to the inputs of "Z" and "X" to Control the page turning once we are interacting with the book
For the E Key create the following Logic:![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-20-30.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-20-30.png?version=1&modificationDate=1570357231000&api=v2)
This will handle the interaction and switches the camera when interacting.
For the Z and X Key create the following logic:![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-23-3.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-23-3.png?version=1&modificationDate=1570357384000&api=v2)
- Compile and Save
Place the Book and Play Test
Place the BP_MultipageTurnActor something like this and hit Play
![Old Animated Books (UE4) > [Tutorial] Interacting with the Multi Page Turn Actor > image2019-10-6_12-49-23.png](http://web.suricoon.com/confluence/download/attachments/7798841/image2019-10-6_12-49-23.png?version=1&modificationDate=1570358964000&api=v2)
Result: