# Payload cast

**URL:** <https://forums.unrealengine.com/t/payload-cast/481188>\
**Category:** C++\
**Tags:** unreal-engine, cast, CPP, question\
**Created:** [April 1, 2021, 7:10am UTC](https://forums.unrealengine.com/t/payload-cast/481188 "2021-04-01T07:10:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kunal\_Singh\_24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kunal\_Singh\_24](https://forums.unrealengine.com/u/Kunal_Singh_24)\
**Post date:** [April 1, 2021, 7:10am UTC](https://forums.unrealengine.com/t/payload-cast/481188/1 "2021-04-01T07:10:21Z")

</div>

Hello… Please help me fast on this one…  
I want to convert this part shown in the image into code.

1. Cast drag drop operation
2. Casting a widget from payload

Remember I want to use cast( i don’t want to use create widget)

 ![334278-screenshot-22.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/6/616e7f1b432301d4612333dd987107290d7e5720.png)
