[Feature Request] Documentation with example code

Here’s an example page from Unity.
And here’s the corresponding page from Unreal.

It’s nice to have a snippet of example code.
For bonus points, an animated gif of the result.