# Verse

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

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

**Page:** 41

---

## [Old stretched res (FOV slider involved)](https://forums.unrealengine.com/t/old-stretched-res-fov-slider-involved/1234526)

<div class="topic-metadata">

**Author:** [@fave](https://forums.unrealengine.com/u/fave)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 9:26am UTC](https://forums.unrealengine.com/t/old-stretched-res-fov-slider-involved/1234526 "2023-07-20T09:26:33Z")

</div>

Not sure how this person did it but I was wondering on how to recreate this (OG) stretched resolution effect and bind it to different buttons as this person has. It actually changes your ingame resolution and make the ch…

---

## [How do I implement the healthful interface in a custom object?](https://forums.unrealengine.com/t/how-do-i-implement-the-healthful-interface-in-a-custom-object/1232842)

<div class="topic-metadata">

**Author:** [@GhostGameNight](https://forums.unrealengine.com/u/GhostGameNight)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 5:31am UTC](https://forums.unrealengine.com/t/how-do-i-implement-the-healthful-interface-in-a-custom-object/1232842 "2023-07-20T05:31:01Z")

</div>

I’m trying to create a custom object that has a health bar using the healthful interface, but I’m not entirely sure where to start with that. How exactly do I implement this interface into the object in my verse code? Th…

---

## [Lesson 9 Practice Time code issue.](https://forums.unrealengine.com/t/lesson-9-practice-time-code-issue/1227396)

<div class="topic-metadata">

**Author:** [@GomezUnlimited](https://forums.unrealengine.com/u/GomezUnlimited)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 6:43pm UTC](https://forums.unrealengine.com/t/lesson-9-practice-time-code-issue/1227396 "2023-07-18T18:43:22Z")

</div>

So I got this error of the code from the lesson 9. I´m pasting it literally and I am not understanding what is missing. It says it doesn´t have expressions yet, if I copy-paste the programs from the previous lessons e…

---

## [Smooth Random Movement (With in Constraints of Box) Error with if statement](https://forums.unrealengine.com/t/smooth-random-movement-with-in-constraints-of-box-error-with-if-statement/1230466)

<div class="topic-metadata">

**Author:** [@Ample](https://forums.unrealengine.com/u/Ample)\
**Replies:** 5\
**Last updated:** [July 18, 2023, 10:23am UTC](https://forums.unrealengine.com/t/smooth-random-movement-with-in-constraints-of-box-error-with-if-statement/1230466 "2023-07-18T10:23:10Z")

</div>

I’m assuming my error is simple but I can’t figure it out. I’ve tried adding {} at the end of the statement but its not a fix any help is appreciated learning curve is steep lol

---

## [strange behavior occurs when using "map"](https://forums.unrealengine.com/t/strange-behavior-occurs-when-using-map/1230940)

<div class="topic-metadata">

**Author:** [@SANTAX](https://forums.unrealengine.com/u/SANTAX)\
**Replies:** 3\
**Last updated:** [July 17, 2023, 7:07pm UTC](https://forums.unrealengine.com/t/strange-behavior-occurs-when-using-map/1230940 "2023-07-17T19:07:24Z")

</div>

i’ve setup a player map tracking player trigger counts to give score to player accordingly. for each x amount of trigger event, the player gets one points, the player map will then reset to 0 and continues. code works mo…

---

## [leaderboard, like ONLY UP in fortnite?](https://forums.unrealengine.com/t/leaderboard-like-only-up-in-fortnite/1227039)

<div class="topic-metadata">

**Author:** [@Online\_Learner\_ePND2](https://forums.unrealengine.com/u/Online_Learner_ePND2)\
**Replies:** 4\
**Last updated:** [July 17, 2023, 6:44am UTC](https://forums.unrealengine.com/t/leaderboard-like-only-up-in-fortnite/1227039 "2023-07-17T06:44:34Z")

</div>

What if I want to get the time to reach a goal and display that value on an in-game leaderboard, like Fortnite’s ONLY UP?

---

## [In verse there are a generic types like typescript already have?](https://forums.unrealengine.com/t/in-verse-there-are-a-generic-types-like-typescript-already-have/1229244)

<div class="topic-metadata">

**Author:** [@opsgamer](https://forums.unrealengine.com/u/opsgamer)\
**Replies:** 1\
**Last updated:** [July 15, 2023, 3:08pm UTC](https://forums.unrealengine.com/t/in-verse-there-are-a-generic-types-like-typescript-already-have/1229244 "2023-07-15T15:08:44Z")

</div>

I want create some functions like utils for refactor my code, but I want to use types for that and I was needing some like generic types that already have typescript something like this(example): TS const foo = \<T = …

---

## [Array of tuple or array of struct](https://forums.unrealengine.com/t/array-of-tuple-or-array-of-struct/1228684)

<div class="topic-metadata">

**Author:** [@Clevereen](https://forums.unrealengine.com/u/Clevereen)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 4:34am UTC](https://forums.unrealengine.com/t/array-of-tuple-or-array-of-struct/1228684 "2023-07-14T04:34:05Z")

</div>

Hello we are trying to access quickly a variable that will store multiple info, that we could update. The following code will allow you to quickly access an array of struct(int,int) but how can we do with a type of age…

---

## [How to detect manual player respawn?](https://forums.unrealengine.com/t/how-to-detect-manual-player-respawn/1224060)

<div class="topic-metadata">

**Author:** [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 6:52pm UTC](https://forums.unrealengine.com/t/how-to-detect-manual-player-respawn/1224060 "2023-07-12T18:52:28Z")

</div>

Specifically, I’m interested in an event that triggers right away when player ‘respawn’ via menu as I need to destroy the vehicle assigned to that player in case it was jammed somewhere on track. If I try to do that on a…

---

## [setting and printing player position and rotation](https://forums.unrealengine.com/t/setting-and-printing-player-position-and-rotation/813959)

<div class="topic-metadata">

**Author:** [@SyntaxzError](https://forums.unrealengine.com/u/SyntaxzError)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 7:13am UTC](https://forums.unrealengine.com/t/setting-and-printing-player-position-and-rotation/813959 "2023-07-11T07:13:44Z")

</div>

Hello Everyone! I’m pretty new to programming in uefn with verse and i can’t find any documentation over player setting player rotations. The code i have underneath does get the player rotation but I haven’t found a way…

---

## [\[Verse\] How can i set player energy(stamina)?](https://forums.unrealengine.com/t/verse-how-can-i-set-player-energy-stamina/1224765)

<div class="topic-metadata">

**Author:** [@SCMagician](https://forums.unrealengine.com/u/SCMagician)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 9:02am UTC](https://forums.unrealengine.com/t/verse-how-can-i-set-player-energy-stamina/1224765 "2023-07-10T09:02:46Z")

</div>

How can i set player energy(stamina)? Here is my code. using { /Fortnite.com/Devices } using { /Fortnite.com/Characters } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } # See https:/…

---

## [Is there a way to ADD a life to a player in UEFN](https://forums.unrealengine.com/t/is-there-a-way-to-add-a-life-to-a-player-in-uefn/1225431)

<div class="topic-metadata">

**Author:** [@MySTiKGuy](https://forums.unrealengine.com/u/MySTiKGuy)\
**Replies:** 0\
**Last updated:** [July 11, 2023, 12:21am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-add-a-life-to-a-player-in-uefn/1225431 "2023-07-11T00:21:00Z")

</div>

Is there a way to ADD a life to a player in UEFN… I want to create a platform game in 3D, I want that the player have 5 lifes but if he grab 100 coins, he gain life. Is there a way to do it ? And to show on screen how…

---

## [Moving Platform using MoveTo stuttering Character](https://forums.unrealengine.com/t/moving-platform-using-moveto-stuttering-character/1221822)

<div class="topic-metadata">

**Author:** [@natereese](https://forums.unrealengine.com/u/natereese)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 1:02am UTC](https://forums.unrealengine.com/t/moving-platform-using-moveto-stuttering-character/1221822 "2023-07-10T01:02:49Z")

</div>

Hello! I’m trying to create some moving platform elements using MoveTo (I’ve tried creating raw keyframes with the AnimationController too). Visually it looks great, but when my character jumps on a platform, the camera …

---

## [Hud Messenger Device .Hide property not working](https://forums.unrealengine.com/t/hud-messenger-device-hide-property-not-working/1211709)

<div class="topic-metadata">

**Author:** [@Phantom\_Fruity](https://forums.unrealengine.com/u/Phantom_Fruity)\
**Replies:** 2\
**Last updated:** [July 7, 2023, 1:11pm UTC](https://forums.unrealengine.com/t/hud-messenger-device-hide-property-not-working/1211709 "2023-07-07T13:11:19Z")

</div>

HudMessage.SetDisplayTime() and both variants of HudMessage.Show() works just fine but HudMessage.Hide() doens’t do anything. Please Fix :slight\_smile:

---

## [How to copy an array of Objects instead of referencing](https://forums.unrealengine.com/t/how-to-copy-an-array-of-objects-instead-of-referencing/1215563)

<div class="topic-metadata">

**Author:** [@Delinx](https://forums.unrealengine.com/u/Delinx)\
**Replies:** 11\
**Last updated:** [July 4, 2023, 2:34am UTC](https://forums.unrealengine.com/t/how-to-copy-an-array-of-objects-instead-of-referencing/1215563 "2023-07-04T02:34:08Z")

</div>

I ran into an issue today, which drove me mad. Assigning one array to another does not copy/clone it, instead, it makes a reference, which is fine; However, I could not find a single way to Clone arrays of objects. Do I …

---

## [Is it resource-intensive GetCreativeObjectsWithTag?](https://forums.unrealengine.com/t/is-it-resource-intensive-getcreativeobjectswithtag/1217902)

<div class="topic-metadata">

**Author:** [@2GHSamburskoy](https://forums.unrealengine.com/u/2GHSamburskoy)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 12:09pm UTC](https://forums.unrealengine.com/t/is-it-resource-intensive-getcreativeobjectswithtag/1217902 "2023-07-03T12:09:13Z")

</div>

The question is more for the UEFN developers. Is it reasonable to use GetCreativeObjectsWithTag frequently for calls? Does it have a significant impact on performance?

---

## [How to make Spawned Prop Destructible?](https://forums.unrealengine.com/t/how-to-make-spawned-prop-destructible/1217777)

<div class="topic-metadata">

**Author:** [@1-UPProtocol](https://forums.unrealengine.com/u/1-UPProtocol)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 4:02am UTC](https://forums.unrealengine.com/t/how-to-make-spawned-prop-destructible/1217777 "2023-07-03T04:02:19Z")

</div>

I need to spawn a bunch of creative props, and have them be destroyed by the player (via shooting, ideally in a single shot). In the current Blueprint I have, I’ve only added a sphere. However, I’ve tried a few collision…

---

## [How to get a device class from "creative\_object\_interface"?](https://forums.unrealengine.com/t/how-to-get-a-device-class-from-creative-object-interface/1217398)

<div class="topic-metadata">

**Author:** [@WesLee1991](https://forums.unrealengine.com/u/WesLee1991)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 7:17pm UTC](https://forums.unrealengine.com/t/how-to-get-a-device-class-from-creative-object-interface/1217398 "2023-07-02T19:17:15Z")

</div>

I have doors with lock devices on them in the level, I have tagged all the locks with “door\_lock” and want to lock/unlock via verse; UnlockAllDoors():void= # Get all the players in the experience. Al…

---

## [How do I use RespondingButtonEvent for a Popup Dialog Device?](https://forums.unrealengine.com/t/how-do-i-use-respondingbuttonevent-for-a-popup-dialog-device/1216686)

<div class="topic-metadata">

**Author:** [@KiansDojo](https://forums.unrealengine.com/u/KiansDojo)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 11:07am UTC](https://forums.unrealengine.com/t/how-do-i-use-respondingbuttonevent-for-a-popup-dialog-device/1216686 "2023-07-02T11:07:07Z")

</div>

My goal is to teleport the player once the first button response is pressed. What verse code do I need to type with RespondingButtonEvent in order to do that? Thanks in advance.

---

## [How to initialize a value such as "?float"](https://forums.unrealengine.com/t/how-to-initialize-a-value-such-as-float/1216411)

<div class="topic-metadata">

**Author:** [@WesLee1991](https://forums.unrealengine.com/u/WesLee1991)\
**Replies:** 2\
**Last updated:** [July 2, 2023, 10:36am UTC](https://forums.unrealengine.com/t/how-to-initialize-a-value-such-as-float/1216411 "2023-07-02T10:36:00Z")

</div>

I am trying to set a value on a widget, the value requires a type of “?float” - how would I create a float that is equal to 1.0 be valid for this widget’s value?

---

## [MakeShortestRotationBetween() not really producing expected results](https://forums.unrealengine.com/t/makeshortestrotationbetween-not-really-producing-expected-results/1216700)

<div class="topic-metadata">

**Author:** [@TTVTROOFTH](https://forums.unrealengine.com/u/TTVTROOFTH)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 9:07pm UTC](https://forums.unrealengine.com/t/makeshortestrotationbetween-not-really-producing-expected-results/1216700 "2023-07-01T21:07:51Z")

</div>

I’m new to verse and I am trying to make this device that works with the “costal boat” prop to automatically calculate rotation when moving between different vectors. The angles it calculates are way off, and sometimes t…

---

## [Concurrency and read and write / set operations](https://forums.unrealengine.com/t/concurrency-and-read-and-write-set-operations/1216282)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 9\
**Last updated:** [July 1, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/concurrency-and-read-and-write-set-operations/1216282 "2023-07-01T19:14:28Z")

</div>

How does set operation work under the hood? How does reading a stored property work? While the second questions sounds trivial, it really isn’t. I struggle to wrap my head around on the implicit structured concurrency …

---

## [MakeShortestRotationBetween isn't working when given vectors, syntax error?](https://forums.unrealengine.com/t/makeshortestrotationbetween-isnt-working-when-given-vectors-syntax-error/1216462)

<div class="topic-metadata">

**Author:** [@TTVTROOFTH](https://forums.unrealengine.com/u/TTVTROOFTH)\
**Replies:** 3\
**Last updated:** [July 1, 2023, 3:36pm UTC](https://forums.unrealengine.com/t/makeshortestrotationbetween-isnt-working-when-given-vectors-syntax-error/1216462 "2023-07-01T15:36:27Z")

</div>

Print(MakeShortestRotationBetween(vector3{X:=-7616.0, Y:=-3840.0, Z:=-100.0}, vector3{X:=256.0, Y:=576.0, Z:=-100.0})) That code is throwing the error: This function parameter expects a value of type tuple(\[\]char,?Dura…

---

## [How can i make a spawned prop indestructable?](https://forums.unrealengine.com/t/how-can-i-make-a-spawned-prop-indestructable/1214533)

<div class="topic-metadata">

**Author:** [@TTVTROOFTH](https://forums.unrealengine.com/u/TTVTROOFTH)\
**Replies:** 10\
**Last updated:** [June 30, 2023, 4:04pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-spawned-prop-indestructable/1214533 "2023-06-30T16:04:36Z")

</div>

Hi, I am spawning a floating prop the moves around my island on a loop in verse, I just want to make it indestructible, thanks! Also I am new to verse so any advice is appreciated, I have no clue how or why this code is…

---

## [MatchMaking Verse](https://forums.unrealengine.com/t/matchmaking-verse/1214475)

<div class="topic-metadata">

**Author:** [@LloretMunoz](https://forums.unrealengine.com/u/LloretMunoz)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 7:13am UTC](https://forums.unrealengine.com/t/matchmaking-verse/1214475 "2023-06-30T07:13:16Z")

</div>

Hello, im trying to activate a matchMaking device when receiving an specific event, but i cant see in the documentation a function to activate it trought Verse, with a string as parameter. Ej, i have 2 different variabl…

---

## [How do I make players get icy feet when hit by an ice fiend?](https://forums.unrealengine.com/t/how-do-i-make-players-get-icy-feet-when-hit-by-an-ice-fiend/1215097)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 6:00am UTC](https://forums.unrealengine.com/t/how-do-i-make-players-get-icy-feet-when-hit-by-an-ice-fiend/1215097 "2023-06-30T06:00:57Z")

</div>

I am testing a bunch of different ice fiends and i can’t seem to get them to make me have icy feet by default. Anyone got any ideas?

---

## [How can I damage creatures, wildlife and npcs with verse only?](https://forums.unrealengine.com/t/how-can-i-damage-creatures-wildlife-and-npcs-with-verse-only/1214944)

<div class="topic-metadata">

**Author:** [@FURTHEST](https://forums.unrealengine.com/u/FURTHEST)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 1:31am UTC](https://forums.unrealengine.com/t/how-can-i-damage-creatures-wildlife-and-npcs-with-verse-only/1214944 "2023-06-30T01:31:19Z")

</div>

How can I damage creatures, wildlife and npcs with verse only?

---

## [Is it possible to cut between level sequences without the one frame cut to player?](https://forums.unrealengine.com/t/is-it-possible-to-cut-between-level-sequences-without-the-one-frame-cut-to-player/1191147)

<div class="topic-metadata">

**Author:** [@alk3ovation](https://forums.unrealengine.com/u/alk3ovation)\
**Replies:** 4\
**Last updated:** [June 29, 2023, 11:48pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-cut-between-level-sequences-without-the-one-frame-cut-to-player/1191147 "2023-06-29T23:48:42Z")

</div>

I’m not sure if this is a verse or a device thing but if I have two cinematic devices and I play them in an async context, one after another (like in the code below) CinematicDevice.Play(WinningAgent) #CinematicDevi…

---

## [Test isactive() on every player in getagents()](https://forums.unrealengine.com/t/test-isactive-on-every-player-in-getagents/1214697)

<div class="topic-metadata">

**Author:** [@lxlxenigmaxlxl](https://forums.unrealengine.com/u/lxlxenigmaxlxl)\
**Replies:** 0\
**Last updated:** [June 29, 2023, 7:10pm UTC](https://forums.unrealengine.com/t/test-isactive-on-every-player-in-getagents/1214697 "2023-06-29T19:10:45Z")

</div>

Im new to coding and the verse language but i have learned a lot from this community so firstly thank you all! I have some code that respawns spectators on a timer and it works flawlessly. I currently have no way of tes…

---

## [Lambda Days Keynote - Beyond functional programming: a taste of Verse](https://forums.unrealengine.com/t/lambda-days-keynote-beyond-functional-programming-a-taste-of-verse/1213276)

<div class="topic-metadata">

**Author:** [@Flak](https://forums.unrealengine.com/u/Flak)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 6:31pm UTC](https://forums.unrealengine.com/t/lambda-days-keynote-beyond-functional-programming-a-taste-of-verse/1213276 "2023-06-29T18:31:02Z")

</div>

This advanced keynote from Lambda Days 2023 takes a deep dive into what it looks like to program in Verse and gives you a sense of what functional logic programming is about. With Simon Peyton Jones and Tim Sweeney. …

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

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