# Verse

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=28

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 29

---

## [How to change player properties for multiple players at once?](https://forums.unrealengine.com/t/how-to-change-player-properties-for-multiple-players-at-once/1684008)

<div class="topic-metadata">

**Author:** [@frenzyisegg](https://forums.unrealengine.com/u/frenzyisegg)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 5:48pm UTC](https://forums.unrealengine.com/t/how-to-change-player-properties-for-multiple-players-at-once/1684008 "2024-02-12T17:48:56Z")

</div>

I originally had this code to update a health slider when a player interacted with a button which worked just fine: UpdateHealthSlider(Message: widget\_message):void = Playspace: fort\_playspace = GetPlayspace() # Cr…

---

## [damagedevice.pickup(Agent not working](https://forums.unrealengine.com/t/damagedevice-pickup-agent-not-working/1683221)

<div class="topic-metadata">

**Author:** [@Burntoast422](https://forums.unrealengine.com/u/Burntoast422)\
**Replies:** 0\
**Last updated:** [February 12, 2024, 5:06am UTC](https://forums.unrealengine.com/t/damagedevice-pickup-agent-not-working/1683221 "2024-02-12T05:06:01Z")

</div>

DamagePower(Agent:agent):void= loop: Sleep(increaserate) damagedevice.SetMagnitude(damage) damagedevice.Pickup(Agent) set damage += 0.1 Print(Message1(Agent))

---

## [What should I change](https://forums.unrealengine.com/t/what-should-i-change/1683210)

<div class="topic-metadata">

**Author:** [@BontiG](https://forums.unrealengine.com/u/BontiG)\
**Replies:** 0\
**Last updated:** [February 12, 2024, 5:02am UTC](https://forums.unrealengine.com/t/what-should-i-change/1683210 "2024-02-12T05:02:43Z")

</div>

I have this programmed to modify the skin of all players, but what should I modify or change so that only class 7 players have their skin changed?

---

## [how to check player colliding with a trigger device?](https://forums.unrealengine.com/t/how-to-check-player-colliding-with-a-trigger-device/1675172)

<div class="topic-metadata">

**Author:** [@AnelKurzester71](https://forums.unrealengine.com/u/AnelKurzester71)\
**Replies:** 1\
**Last updated:** [February 11, 2024, 4:55pm UTC](https://forums.unrealengine.com/t/how-to-check-player-colliding-with-a-trigger-device/1675172 "2024-02-11T16:55:02Z")

</div>

i want to make a trigger disappear as soon as a player collides with it. anyone know how i would have to modify this code so it despawns on the collision (the despawning method has already been implemented i just want to…

---

## [The border of storm controller disappear](https://forums.unrealengine.com/t/the-border-of-storm-controller-disappear/1681764)

<div class="topic-metadata">

**Author:** [@tyk0704](https://forums.unrealengine.com/u/tyk0704)\
**Replies:** 0\
**Last updated:** [February 11, 2024, 3:50pm UTC](https://forums.unrealengine.com/t/the-border-of-storm-controller-disappear/1681764 "2024-02-11T15:50:47Z")

</div>

I’m testing the storm controller, and I used the basic storm controller just for testing. I have two snapshot, and the previous works fine, the only thing I did was dragging the basic storm controller and change the ini…

---

## [Hiding/Showing verse UI doesn't work](https://forums.unrealengine.com/t/hiding-showing-verse-ui-doesnt-work/1676221)

<div class="topic-metadata">

**Author:** [@Folevolt2](https://forums.unrealengine.com/u/Folevolt2)\
**Replies:** 0\
**Last updated:** [February 9, 2024, 12:44pm UTC](https://forums.unrealengine.com/t/hiding-showing-verse-ui-doesnt-work/1676221 "2024-02-09T12:44:06Z")

</div>

This UI shows when there is only one element in the Pages array, if theres more the UI with specific index will still be hidden even tho it’s visibility is set to Visible, can someone help with that? RunPages(Agent : …

---

## [Is there a workaround for normal String operations?](https://forums.unrealengine.com/t/is-there-a-workaround-for-normal-string-operations/1674896)

<div class="topic-metadata">

**Author:** [@Doodzi](https://forums.unrealengine.com/u/Doodzi)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 7:45pm UTC](https://forums.unrealengine.com/t/is-there-a-workaround-for-normal-string-operations/1674896 "2024-02-08T19:45:42Z")

</div>

Is there any workarounds for normal String operations that are possible in all other languages? Just to name a few: Split Replace ReplaceFirst ReplaceAll ToLowerCase ToUpperCase StartsWith EndsWith Contains

---

## [This function expects a value of type widget\_message-\>void, but this argument is an incompatible value of type void.](https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270)

<div class="topic-metadata">

**Author:** [@frenzyisegg](https://forums.unrealengine.com/u/frenzyisegg)\
**Replies:** 1\
**Last updated:** [February 8, 2024, 3:33pm UTC](https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270 "2024-02-08T15:33:01Z")

</div>

Trying to make a health slider but can’t manage to update the health. When I try to call UpdateHealth or UpdateShield I get this error: This function expects a value of type widget\_message-\>void, but this argument is an…

---

## [making a device disapear as soon as it collides with a player](https://forums.unrealengine.com/t/making-a-device-disapear-as-soon-as-it-collides-with-a-player/1673118)

<div class="topic-metadata">

**Author:** [@AnelKurzester71](https://forums.unrealengine.com/u/AnelKurzester71)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/making-a-device-disapear-as-soon-as-it-collides-with-a-player/1673118 "2024-02-08T15:31:21Z")

</div>

i want to make a trigger device disapear as soon as it collides with a player. i thought of implementing the disapearing by just teleporting the trigger away for example multiplying the vectors with a constant. (pseudo)…

---

## [This invocation calls a function that has the 'no\_rollback' effect, which is not allowed by its context.](https://forums.unrealengine.com/t/this-invocation-calls-a-function-that-has-the-no-rollback-effect-which-is-not-allowed-by-its-context/1673688)

<div class="topic-metadata">

**Author:** [@peepeepoopoo490](https://forums.unrealengine.com/u/peepeepoopoo490)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 5:23am UTC](https://forums.unrealengine.com/t/this-invocation-calls-a-function-that-has-the-no-rollback-effect-which-is-not-allowed-by-its-context/1673688 "2024-02-08T05:23:18Z")

</div>

I currenty am having an error with verse that is giving me the “This invocation calls a function that has the ‘no\_rollback’ effect, which is not allowed by its context.” error. This specifically occurs with the line “MOV…

---

## [teamswitch](https://forums.unrealengine.com/t/teamswitch/1672264)

<div class="topic-metadata">

**Author:** [@JordanyJaxxen](https://forums.unrealengine.com/u/JordanyJaxxen)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/teamswitch/1672264 "2024-02-07T15:08:58Z")

</div>

Hello, I want that, if the Playercounter1 is true, then all Players that are not in Team1, to automatically switch to Team 2. And if he Playercounter2 is true, then all Players that are not in Team2, to automatically s…

---

## [Getting the team of a Player](https://forums.unrealengine.com/t/getting-the-team-of-a-player/793700)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 5\
**Last updated:** [February 7, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/getting-the-team-of-a-player/793700 "2024-02-07T15:08:21Z")

</div>

I am trying to get the team of a player as an int value using verse code. I am not sure but I think I have to use GetPlaySpace for this. But I can only seem to get something of type team. I do not know what this type tea…

---

## [Prevent Static Mesh from clipping](https://forums.unrealengine.com/t/prevent-static-mesh-from-clipping/1667257)

<div class="topic-metadata">

**Author:** [@jag\_firerwalker](https://forums.unrealengine.com/u/jag_firerwalker)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 5:18am UTC](https://forums.unrealengine.com/t/prevent-static-mesh-from-clipping/1667257 "2024-02-07T05:18:15Z")

</div>

I have a Signal Remote that allows me to place a static mesh. Unfortunately, I can’t figure out how I can prevent it from clipping into other objects. I already created a collision mesh, but that doesn’t seem to do anyth…

---

## [Can't access a function from a preceding type](https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274)

<div class="topic-metadata">

**Author:** [@ok\_studios](https://forums.unrealengine.com/u/ok_studios)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 4:22am UTC](https://forums.unrealengine.com/t/cant-access-a-function-from-a-preceding-type/1656274 "2024-02-07T04:22:44Z")

</div>

This is from the NPC Medic Example. Any thoughts on how to resolve this error.

---

## [Move Widget around Canvas (Verse)](https://forums.unrealengine.com/t/move-widget-around-canvas-verse/1671263)

<div class="topic-metadata">

**Author:** [@4lvaro](https://forums.unrealengine.com/u/4lvaro)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 1:47am UTC](https://forums.unrealengine.com/t/move-widget-around-canvas-verse/1671263 "2024-02-07T01:47:29Z")

</div>

Hi! I have a canvas that has one canva slot. The Widget that contains is a color\_block, when defined I put it in X 960 and Y 900, is any way to change it like move it or animate it for moving to for example X 900. In the…

---

## [need to get specific Player :(](https://forums.unrealengine.com/t/need-to-get-specific-player/1656531)

<div class="topic-metadata">

**Author:** [@Rodriges2.7](https://forums.unrealengine.com/u/Rodriges2.7)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 2:22pm UTC](https://forums.unrealengine.com/t/need-to-get-specific-player/1656531 "2024-02-05T14:22:00Z")

</div>

I am making a system wich should get Players tracked Value and build a ranked system with it. It then displays the player rank and sofar it allmost completly works but it wont get the rank (tracked value) of the player p…

---

## [Rank system with the same ui in pic](https://forums.unrealengine.com/t/rank-system-with-the-same-ui-in-pic/1664312)

<div class="topic-metadata">

**Author:** [@user\_cde46ea027a1a6bd31bfb7a774d6c119513525e737700d2c4b4645](https://forums.unrealengine.com/u/user_cde46ea027a1a6bd31bfb7a774d6c119513525e737700d2c4b4645)\
**Replies:** 1\
**Last updated:** [February 4, 2024, 1:59am UTC](https://forums.unrealengine.com/t/rank-system-with-the-same-ui-in-pic/1664312 "2024-02-04T01:59:04Z")

</div>

Hello so i was wondering if someone has the verse code or tutorial to add a rank system with the same UI as this pic Where kills / goal If the goal is hit the goal increases and the text and image of the rank change …

---

## [How to convert "agent" to "?agent"](https://forums.unrealengine.com/t/how-to-convert-agent-to-agent/1642292)

<div class="topic-metadata">

**Author:** [@Shoka](https://forums.unrealengine.com/u/Shoka)\
**Replies:** 3\
**Last updated:** [February 2, 2024, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-convert-agent-to-agent/1642292 "2024-02-02T13:41:41Z")

</div>

I know how to convert an “?agent” to an “agent”: if (MaybeAgent := Agent?): Do stuff with MaybeAgent (agent) But what about converting an “agent” to “?agent” for some methods that request an “?agent” as parameter…

---

## [Is there a way to get the string name of button pressed?](https://forums.unrealengine.com/t/is-there-a-way-to-get-the-string-name-of-button-pressed/1645136)

<div class="topic-metadata">

**Author:** [@ChaosCatGG](https://forums.unrealengine.com/u/ChaosCatGG)\
**Replies:** 2\
**Last updated:** [February 2, 2024, 1:34am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-the-string-name-of-button-pressed/1645136 "2024-02-02T01:34:33Z")

</div>

If I have button named “button1234” and another button named “button5678” for example, is there a way to get the name of the button pressed? Pseudocode of what I mean: button1234.InteractedWithEvent.Subscribe(HandleMyB…

---

## [Player gets teleported out of map when using the teleport ability](https://forums.unrealengine.com/t/player-gets-teleported-out-of-map-when-using-the-teleport-ability/1659134)

<div class="topic-metadata">

**Author:** [@MoldavianSniper](https://forums.unrealengine.com/u/MoldavianSniper)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 9:56pm UTC](https://forums.unrealengine.com/t/player-gets-teleported-out-of-map-when-using-the-teleport-ability/1659134 "2024-02-01T21:56:57Z")

</div>

Hello everybody. Can anyone help me fix an issue, I have a abilty that let’s you teleport to the closest player, but if a new player has joined in the lobby, nobody can teleport to him, and the teleport will send you to …

---

## [get sound effects when i kill](https://forums.unrealengine.com/t/get-sound-effects-when-i-kill/1622828)

<div class="topic-metadata">

**Author:** [@Puttdinho](https://forums.unrealengine.com/u/Puttdinho)\
**Replies:** 8\
**Last updated:** [February 1, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/get-sound-effects-when-i-kill/1622828 "2024-02-01T19:07:55Z")

</div>

How do i get custom sound effects when i kill someone?

---

## [Shrink Player in UEFN](https://forums.unrealengine.com/t/shrink-player-in-uefn/1639332)

<div class="topic-metadata">

**Author:** [@eccecarpet](https://forums.unrealengine.com/u/eccecarpet)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/shrink-player-in-uefn/1639332 "2024-01-31T20:33:47Z")

</div>

Hi! I am building a level in Fortnite. Is there a way to make the player shrink or gain size in UEFN? Thank you.

---

## [UEFN Verse Help](https://forums.unrealengine.com/t/uefn-verse-help/1655038)

<div class="topic-metadata">

**Author:** [@Wocki](https://forums.unrealengine.com/u/Wocki)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 8:27pm UTC](https://forums.unrealengine.com/t/uefn-verse-help/1655038 "2024-01-31T20:27:38Z")

</div>

Hello, today is my very first day in Verse and I need a little help. I am following a tutorial on YT on how to write verse for using a Remote Signal Device to teleport back to your location 10 seconds prior. I wrote the …

---

## [Is there a way to check if the shot was a Headshot?](https://forums.unrealengine.com/t/is-there-a-way-to-check-if-the-shot-was-a-headshot/1653851)

<div class="topic-metadata">

**Author:** [@Hcax1](https://forums.unrealengine.com/u/Hcax1)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 4:18pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-if-the-shot-was-a-headshot/1653851 "2024-01-31T16:18:05Z")

</div>

Hi, I’m trying to check if the hit to a character is a headshot. I know trackers have an option to only count eliminations on headshots, so I was wondering if there is some posibility to check it on the damageable inter…

---

## [Do not work verse Error Squiggles in VS Code](https://forums.unrealengine.com/t/do-not-work-verse-error-squiggles-in-vs-code/1650907)

<div class="topic-metadata">

**Author:** [@DarkAbbot](https://forums.unrealengine.com/u/DarkAbbot)\
**Replies:** 2\
**Last updated:** [January 31, 2024, 4:07pm UTC](https://forums.unrealengine.com/t/do-not-work-verse-error-squiggles-in-vs-code/1650907 "2024-01-31T16:07:59Z")

</div>

I have an enabled extension “Verse language support for VS Code” but code editor do not show any erros. VS Code version 1.85.2 (doesn’t work in the previous version either). Can you help me?

---

## [hi i have a problem with visual studio ](https://forums.unrealengine.com/t/hi-i-have-a-problem-with-visual-studio/1656056)

<div class="topic-metadata">

**Author:** [@YTIceWolf](https://forums.unrealengine.com/u/YTIceWolf)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 2:52pm UTC](https://forums.unrealengine.com/t/hi-i-have-a-problem-with-visual-studio/1656056 "2024-01-31T14:52:40Z")

</div>

hi i have a problem with visual studio, its npt detecting any error so everytime i want to check if there is any error i need to build verse code and check what the message log say. someone know how to fix that?

---

## [Data definitions at class scope must specify their value domain](https://forums.unrealengine.com/t/data-definitions-at-class-scope-must-specify-their-value-domain/1642503)

<div class="topic-metadata">

**Author:** [@lookingforvlad](https://forums.unrealengine.com/u/lookingforvlad)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 3:44am UTC](https://forums.unrealengine.com/t/data-definitions-at-class-scope-must-specify-their-value-domain/1642503 "2024-01-31T03:44:52Z")

</div>

I’m triyng to create class and create variable of this class. I don’t know why I recieved this error. I have this code: hi\<public\> := class(): New\<public\> : int = 0 By\<public\> : string = "" MyHi := Material.hi…

---

## [Need Agent in Tracker :(](https://forums.unrealengine.com/t/need-agent-in-tracker/1650898)

<div class="topic-metadata">

**Author:** [@Rodriges2.7](https://forums.unrealengine.com/u/Rodriges2.7)\
**Replies:** 10\
**Last updated:** [January 30, 2024, 8:53pm UTC](https://forums.unrealengine.com/t/need-agent-in-tracker/1650898 "2024-01-30T20:53:58Z")

</div>

I need to somehow get an Agent referenced in my tracker to not get everyones Tracked Value and only for onr person but i dont know how to do it. I havent written anything related to the agent and there is propaply an eas…

---

## [Verse UI - Widget Texture Block Invalidations](https://forums.unrealengine.com/t/verse-ui-widget-texture-block-invalidations/1654076)

<div class="topic-metadata">

**Author:** [@CharlockV](https://forums.unrealengine.com/u/CharlockV)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 4:48pm UTC](https://forums.unrealengine.com/t/verse-ui-widget-texture-block-invalidations/1654076 "2024-01-30T16:48:26Z")

</div>

I’m having a bug that was already solved in other questions made in this forum (Trying to understand UI textures via Verse, does it not work?), but with me those fixes didn’t work. When I’m constructing my widget overla…

---

## [Is there a way to Draw a ESP around a player](https://forums.unrealengine.com/t/is-there-a-way-to-draw-a-esp-around-a-player/1524258)

<div class="topic-metadata">

**Author:** [@square](https://forums.unrealengine.com/u/square)\
**Replies:** 7\
**Last updated:** [January 30, 2024, 4:31am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-draw-a-esp-around-a-player/1524258 "2024-01-30T04:31:41Z")

</div>

Trying to make a “special ability” that lets you see all users “Wall Hacks” through walls, drawing like a red box around all users

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=27)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=29)
