# C#'s "this" how to in Verse?

**URL:** <https://forums.unrealengine.com/t/c-s-this-how-to-in-verse/1767799>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 23, 2024, 4:13am UTC](https://forums.unrealengine.com/t/c-s-this-how-to-in-verse/1767799 "2024-03-23T04:13:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBuratto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JBuratto](https://forums.unrealengine.com/u/JBuratto)\
**Post date:** [March 23, 2024, 4:13am UTC](https://forums.unrealengine.com/t/c-s-this-how-to-in-verse/1767799/1 "2024-03-23T04:13:23Z")

</div>

Context: I want to make a bomb planting/defusing system, much like in the template one that people use. The thing I want to change is: the template “hardcodes” a bomb A and a bomb B and I want to make the system expandable by having a list/array of bombs that can be planted/defused/exploded, and when those bombs explode the round ends.

This is basically my first day of Verse but I work with games for 5 years, my idea was to separate the devices into a standalone bomb\_device that works on its own by simply exploding and triggering a “BombExplosionEvent” that I created. That said, I also have a “bomb\_controller\_device” that holds a list/array of bombs, while I know that I don’t need to reference them in order to Await() the event and I managed to await the event, I want to send which bomb exploded in said event. If one of the bombs explode, I would trigger the round end.

---

<div class="post-metadata">

**Author:** ![Humongousdungus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Humongousdungus](https://forums.unrealengine.com/u/Humongousdungus)\
**Post date:** [March 23, 2024, 11:41am UTC](https://forums.unrealengine.com/t/c-s-this-how-to-in-verse/1767799/2 "2024-03-23T11:41:32Z")

</div>

In verse the C# “this” keyword should be “Self” if that is what you are looking for,

> **[Class](https://dev.epicgames.com/documentation/en-us/uefn/class-in-verse#:~:text=have%20different%20values.-,Self,-Self%20is%20a)**
>
> A class is a template for creating objects with similar behaviors and properties (fields and methods).

---

<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:** [April 22, 2024, 11:41am UTC](https://forums.unrealengine.com/t/c-s-this-how-to-in-verse/1767799/3 "2024-04-22T11:41:52Z")

</div>

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