There are several Blueprint maps located inside the Content Examples project that demonstrate the power and flexibility of the Blueprints system. Whether you are looking to define player controls, implement a health/pick-up system, or simply have a door that opens when a player approaches it, the examples illustrated in these maps should give you some ideas on how to approach whatever it is you are after.

This page indicates what examples are included in each map and where to find them so that you may jump to your area of interest and begin scripting right away. If you are new to Blueprints however, it is suggested that you begin with the Blueprints_Overview map as it will cover the core aspects of the system and will help get you started with using them.

You can find additional resources on how an example was constructed (if applicable) by clicking on the example's name in their respective tables.

Blueprints_Overview Map

The Blueprints_Overview map covers the essential aspects of Blueprints including: Components, using the Construction Script and Event Graph, Variables and how to edit/set them, simple mathematics, and controlling the flow of a Blueprint by using different types of Flow Control nodes.
Take your time going over these sections as you will use these elements quite often when working with Blueprints in the future.

A Blueprint that uses different types of Flow Control to modify movement, color and effects of an object (e.g. the direction a coin moves, its color, and if effects are applied via the Details panel).

Blueprints_Advanced Map

The Blueprints_Advanced map jumps deeper into using the Construction Script and Event Graphs to generate content.

Construction Script Examples

The Construction Script section illustrates how to: randomly spawn meshes in a specified radius, automatically spawn meshes based on an Actor's pivot, spawn meshes symmetrically, or generate all the components for a customizable spotlight.

How to use the Construction Script to combine all the components of a spotlight into one Actor (e.g. a spotlight that can be customized including on/off state, light color, orientation and radius).

Event Graph Examples

The Event Graph examples will show you how to: animate a Static Mesh with a timeline, automatically rotate an Actor to track player movement, how to pass variables between Blueprints, create a door that opens automatically when triggered or create different types of pick-ups.

How to implement different types of pick-ups derived from the same Parent Class (e.g. a pick-up for health, a coin, and a cupcake each with different functionality when picked up).

Blueprint_Communication Map

When working with Blueprints, you may need to execute a function or access certain variables from another Blueprint and depending on your needs, different methods of communication are provided.
The Blueprint_Communication map shows the various ways that you can pass information from one Blueprint to another through Direct Blueprint Communication, Event Dispatchers, or Blueprint Interfaces.

Blueprint Communication Examples

The Direct Blueprint Communication or Blueprint Communication section shows the basic ways in which you can access and provide information between Blueprints through targeting or casting to a Blueprint.

Example

What is Demonstrated

1.1 Basic Communication (Target Blueprint)

An example of a button Blueprint that toggles a light Blueprint on and off through a custom event.

1.2 Basic Communication (Actor Casting)

How to use an overlap event to detect a Blueprint of a particular class (e.g. a light bulb is turned on/off by connecting a battery).

1.3 Communication (Actor Casting To Child Blueprints)

How use Child Blueprints which share functionality of their parent but have independent functionality as well (e.g. turning lights on/off by connecting batteries each with different energy values).

1.4 Communication with All Actors of a Specific Class

How to communicate with several Actors of a particular class (e.g. turn on several lights at once each with different functionality).

Event Dispatcher Examples

The Event Dispatcher examples cover another method in which you can communicate between Blueprints and Level Blueprint.
In addition, by Binding one or more events to an Event Dispatcher, you can cause multiple events that are bound to the event to fire at once when the Event Dispatcher is called.

Example

What is Demonstrated

2.1 Using Event Dispatchers

How to use an Event Dispatcher to call an event inside the Level Blueprint (e.g. toggling a light on/off using an Event Dispatcher).

2.2 Binding Event Dispatchers to A Custom Event

Illustrates binding an Event Dispatcher to a custom event inside of the Level Blueprint (e.g. toggling a button that rotates an object over time).

2.3 Binding Event Dispatchers to A Custom Event on Spawn

Illustrates how to enable/disable a trigger with an Event Dispatcher that is called when a spawned Actor is destroyed (e.g. press a button to spawn a bomb, no other bombs can be spawned until the previous bomb explodes).

Blueprint Interface Examples

There may be instances where you have multiple Blueprints which share some basic commonalities (like being shot by a projectile and taking some form of damage) but are entirely different entities (like a car and a tree).
The Blueprint Interface will allow you to have a method in which both the car and tree can communicate and share how to react when damaged but have different components and functionality in-and-of themselves.

Example

What is Demonstrated

3.1 Blueprint Interface (Array of Blueprints)

Illustrates how to communicate with multiple Blueprints each of different classes through an array (e.g. turn on/off different lights and rotating objects with one switch).

3.2 Blueprint Interface (Interactive Blueprints)

How to communicate from the player Blueprint to Actor Blueprints based on input (e.g. an interactive switch, crank, or lever with a pulley chain).

3.3 Blueprint Interface (Projectile Collision)

How to use a Blueprint Interface to check what an Actor of a particular type was hit by (e.g. three objects react differently when shot with fire or water).

Blueprint_Input_Examples Map

The Blueprint_Input_Examples map gives you three examples of creating player input through Blueprints in three different styles of games: a 2D side scroller, a top-down 2D space shooter, and a 3D flying UFO.

Example

What is Demonstrated

1.1 2D Input (Side Scrolling Character)

Showcases an example of a 2D side scrolling game along with left/right movement and jumping.

1.2 2D Input (Space Shooter)

Showcases an example of a 2D space shooter game along with left/right movement and a projectile that can be fired.

1.3 Physics Driven Input (UFO Example)

Showcases an example of a flying spaceship style game along with WASD movement, lift off and landing, speed boosts, and an abduction ray mechanic.

Blueprint_Mouse_Interaction Map

The Blueprint_Mouse_Interaction map shows how to incorporate mouse input (or mobile touch inputs) as well as how to have objects react to mouse or touch input through Blueprints.
The example given allows you to click-and-drag objects around on screen that react when interacted with as well as interacting with moving components.

Blueprint_HUD Map

The Blueprint_HUD map provides an example on how to generate HUD elements with a HUD Blueprint as well as create a basic Pause Menu. The example also shows how to create a Health/Damage and Pick-Up system, as well as a Waypoint Objective Marking system.

Demonstrates a simple in-game HUD that also includes clickable buttons in the forum of a basic pause menu.

Blueprint_Splines Map

The Blueprint Splines map in Content Examples will show how you can use Spline Components with Blueprints to create paths that can be used in a number of different ways. By simply adding a Spline Component to your Blueprint and selecting an instance of that Blueprint, you will gain access to editing splines within your level. You will then be able to select spline keys inside the viewport and manipulate them like any other Actor using the Translation, Rotation, and Scale widgets.

The Content Examples provided will illustrate how Blueprint Splines can be used with a Construction Script to create paths of Static Mesh objects or how to dynamically alter splines paths or Spline Meshes during gameplay to create content or animations.

Construction Script Examples

The examples below showcase how a Spline Component can be used with a Blueprint's Construction Script to paths or scalable Static Meshes inside the viewport in real-time.

Example

What is Demonstrated

1.1 Blueprint Spline Component

Demonstrates how a Spline Component can be edited easily in the viewport (e.g. move four spline points of a Spline Component inside the viewport).

1.2 Placing Components Along Splines

Shows how a Blueprint can retrieve various kinds of information from a Spline Component (e.g. shows how Static Mesh Components can be placed along the length of a spline where their orientation is determined by the direction of the spline in which they were placed).

1.3 Spline Mesh Components

Spline Meshes which are another type of Spline Component used to stretch and bend a Static Mesh asset (e.g. a pipe that can be stretched and orientated using widgets in the viewport).

Dynamic Examples

The Dynamic Examples show how a Spline Component can be updated dynamically during gameplay to provide ambient background movement of objects or to animate objects or even a playable character!

Example

What is Demonstrated

2.1 Using a Spline as a Path

An example of a Spline Component used as a path for a Particle Effect to follow.

2.2 Changing Splines While Simulating

Shows how Spline Components can be created dynamically during gameplay (e.g. a string of lanterns animate along a spline when playing or simulating).

2.3 Animating a Spline Mesh

A Spline Component can also be used as a path for a Spline Mesh to move along (e.g. a vine grows out of the ground along a spline path).

2.4 Spline Mesh for Pawn Animation

How a Spline Mesh can be used for animating a pawn (e.g. a Spline Mesh is used to animate a playable swimming fish).