# What is the best way to alter tutorials based on the platform?

**URL:** <https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [February 23, 2023, 4:22am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789 "2023-02-23T04:22:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BatYaggy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BatYaggy](https://forums.unrealengine.com/u/BatYaggy)\
**Post date:** [February 23, 2023, 4:22am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789/1 "2023-02-23T04:22:55Z")

</div>

I’m writing tutorials for my game but they will need to change depending on the platform. How can I make this change?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 23, 2023, 9:17am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789/2 "2023-02-23T09:17:14Z")

</div>

Hey there @BatYaggy! If possible, the best way for most games is to have a singular tutorial, but have a variable (or use something like common UI) that just changes the prompts depending on what controller is currently in use. Example:

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

Common UI:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/a/88ab9f644432df8862e87aa98333a08149adb9cc.jpeg "Common UI Input system in Unreal Engine 5") ](https://www.youtube.com/watch?v=q05jmFyeb0c)

Common UI Docs:

> **[Common UI](https://docs.unrealengine.com/5.0/en-US/common-ui-plugin-for-advanced-user-interfaces-in-unreal-engine/)**
>
> Create complex, multi-layered user interfaces with the Common UI plugin.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [February 23, 2023, 9:29am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789/3 "2023-02-23T09:29:30Z")

</div>

What SupportiveEntity says is possible if you want to change content based on input device, not platform. That does not answer the question since for example a PS3 supports a mouse and keyboard as well as a PC supports a controller. It is possible to detect such a change though in c++ using an InputPreProcessor which is very easy to do. CommonUI implements such a thing and a widget which responds to a change in input device but it’s an experimental UI framework on top of the existing UI framework, a bit of bloat.

The UGameplayStatics library has a method which returns the platform name as a string to blueprint, maybe you could use that. Since you don’t actually “change” the platform after the game starts, you could just check for the platform name on the start of the game / BeginPlay or similar single event and load the right asset there.

> [How to see what platform game is running on? - #6 by anonymous\_user\_75f3f229](https://forums.unrealengine.com/t/how-to-see-what-platform-game-is-running-on/311518/6)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 20, 2023, 2:41am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-alter-tutorials-based-on-the-platform/776789/4 "2023-06-20T02:41:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
