# \#integer

**URL:** https://forums.unrealengine.com/tag/integer/4053.md

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

---

## [Is there a way to check multiples of an integer?](https://forums.unrealengine.com/t/is-there-a-way-to-check-multiples-of-an-integer/2674000)

<div class="topic-metadata">

**Author:** [@UpCastAlex](https://forums.unrealengine.com/u/UpCastAlex)\
**Replies:** 1\
**Last updated:** [November 12, 2025, 1:13am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-multiples-of-an-integer/2674000 "2025-11-12T01:13:16Z")

</div>

As the Title says, is there a way to check a number against a multiple of an integer without having to do it manually in this way?

---

## [Integer spin box? Other text field?](https://forums.unrealengine.com/t/integer-spin-box-other-text-field/342371)

<div class="topic-metadata">

**Author:** [@Oranjoose](https://forums.unrealengine.com/u/Oranjoose)\
**Replies:** 6\
**Last updated:** [June 12, 2025, 6:59am UTC](https://forums.unrealengine.com/t/integer-spin-box-other-text-field/342371 "2025-06-12T06:59:57Z")

</div>

Simple question: is there a setting to make spin boxes only permit integers? I’m looking to make a text field that only takes integers. I know I can do a quick absolute value in the on commit event, but it still displa…

---

## [Getting a percentage of a Float or Integer](https://forums.unrealengine.com/t/getting-a-percentage-of-a-float-or-integer/394057)

<div class="topic-metadata">

**Author:** [@Freudian](https://forums.unrealengine.com/u/Freudian)\
**Replies:** 8\
**Last updated:** [May 23, 2025, 7:52pm UTC](https://forums.unrealengine.com/t/getting-a-percentage-of-a-float-or-integer/394057 "2025-05-23T19:52:31Z")

</div>

Getting a percentage of a Float or Integer I want to be able to set a Variable with a value that is equal to the percentage of another Integer or Float. For example, reducing the players movement speed at a percentage of…

---

## [Transfering Integer to widgets?](https://forums.unrealengine.com/t/transfering-integer-to-widgets/396314)

<div class="topic-metadata">

**Author:** [@Brohst](https://forums.unrealengine.com/u/Brohst)\
**Replies:** 6\
**Last updated:** [October 6, 2024, 11:00am UTC](https://forums.unrealengine.com/t/transfering-integer-to-widgets/396314 "2024-10-06T11:00:34Z")

</div>

Hey guys, Iam kind of lost and out of ideas how to set the text of a text block (Widget) to the same value as my Integer. Ive tried to set up a “Cast to” but with that i don’t know what to select as an object. This is t…

---

## [Editor forgets ENUM for Bitmask in Blueprints](https://forums.unrealengine.com/t/editor-forgets-enum-for-bitmask-in-blueprints/396734)

<div class="topic-metadata">

**Author:** [@TheBasti82](https://forums.unrealengine.com/u/TheBasti82)\
**Replies:** 4\
**Last updated:** [September 24, 2024, 2:06pm UTC](https://forums.unrealengine.com/t/editor-forgets-enum-for-bitmask-in-blueprints/396734 "2024-09-24T14:06:55Z")

</div>

Hello, if i create a ENUM for a Bitmask and use this with a integer-var in a BluePrint all work fine. But if i reload the Project the Editor forgets the Correct ENUM for the Integer Variable… I think this is a Bug. …

---

## [Why is my integer not responding correctly?](https://forums.unrealengine.com/t/why-is-my-integer-not-responding-correctly/1569230)

<div class="topic-metadata">

**Author:** [@ZanettiGameplay](https://forums.unrealengine.com/u/ZanettiGameplay)\
**Replies:** 2\
**Last updated:** [December 29, 2023, 12:50am UTC](https://forums.unrealengine.com/t/why-is-my-integer-not-responding-correctly/1569230 "2023-12-29T00:50:42Z")

</div>

Why is my integer not responding correctly? I made a blueprint of triggers that activates when looking at a certain item… I’m trying to make the same blueprint be used for different situations, but it is activating when …

---

## [How to set a limit of children in a scrollbox?](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542)

<div class="topic-metadata">

**Author:** [@KTMLg1](https://forums.unrealengine.com/u/KTMLg1)\
**Replies:** 2\
**Last updated:** [November 23, 2023, 1:18pm UTC](https://forums.unrealengine.com/t/how-to-set-a-limit-of-children-in-a-scrollbox/479542 "2023-11-23T13:18:13Z")

</div>

Im trying to make a max and a current integer variables from getting the amount of children in a scroll box and setting a max amount so no more can be added to the scrollbox.

---

## [String to int Conversion](https://forums.unrealengine.com/t/string-to-int-conversion/469683)

<div class="topic-metadata">

**Author:** [@TRI99ER](https://forums.unrealengine.com/u/TRI99ER)\
**Replies:** 8\
**Last updated:** [October 8, 2023, 3:28pm UTC](https://forums.unrealengine.com/t/string-to-int-conversion/469683 "2023-10-08T15:28:44Z")

</div>

Had to work around this and just get resolution I need from the array of fullscreen resolutions. So basically not to use the conversion to numbers if String is converted from Formated Text, because Format Text outputs a…

---

## [Integer spin box in widget?](https://forums.unrealengine.com/t/integer-spin-box-in-widget/464243)

<div class="topic-metadata">

**Author:** [@Doomknight1401](https://forums.unrealengine.com/u/Doomknight1401)\
**Replies:** 6\
**Last updated:** [June 5, 2023, 3:32pm UTC](https://forums.unrealengine.com/t/integer-spin-box-in-widget/464243 "2023-06-05T15:32:49Z")

</div>

Hello, I wonder if there is any way to make a spin box increase and decrease its value by 1 instead of float comma values. I’ve been struggling with this for a while. I want the user to be able to drag and pick 2, 3 or …

---

## [Switch on int for materials (scalars/grayscale textures)](https://forums.unrealengine.com/t/switch-on-int-for-materials-scalars-grayscale-textures/440934)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Replies:** 5\
**Last updated:** [May 8, 2023, 3:22pm UTC](https://forums.unrealengine.com/t/switch-on-int-for-materials-scalars-grayscale-textures/440934 "2023-05-08T15:22:49Z")

</div>

Hi, I’d like to help anyone who needs a switch on int node but for materials. The scenario is this - you have 1 or more textures that each channel is separate grayscale texture (for example you use the RGBA channels to…

---

## [Make template take int32 instead of int](https://forums.unrealengine.com/t/make-template-take-int32-instead-of-int/838522)

<div class="topic-metadata">

**Author:** [@randomAcd](https://forums.unrealengine.com/u/randomAcd)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 9:05am UTC](https://forums.unrealengine.com/t/make-template-take-int32-instead-of-int/838522 "2023-04-02T09:05:52Z")

</div>

Hello, I tried writing a template function and the compiler tries to input an int instead of an int32 with a 0. Now there are some template functions (like the TArray constructor) that know they should take an int32 in…

---

## [Limit integer values in a blueprint structure to a range](https://forums.unrealengine.com/t/limit-integer-values-in-a-blueprint-structure-to-a-range/789224)

<div class="topic-metadata">

**Author:** [@Tbunreal](https://forums.unrealengine.com/u/Tbunreal)\
**Replies:** 2\
**Last updated:** [March 12, 2023, 7:57pm UTC](https://forums.unrealengine.com/t/limit-integer-values-in-a-blueprint-structure-to-a-range/789224 "2023-03-12T19:57:35Z")

</div>

Hi, say I have a structure created through blueprints and it holds a bunch of integers, but I only want the values to be able to be set from 0 to 50, how would I do that? Or at least throw some error if outside the range…

---

## [Integer variable not setting properly](https://forums.unrealengine.com/t/integer-variable-not-setting-properly/725230)

<div class="topic-metadata">

**Author:** [@BarHibel](https://forums.unrealengine.com/u/BarHibel)\
**Replies:** 5\
**Last updated:** [December 14, 2022, 8:46am UTC](https://forums.unrealengine.com/t/integer-variable-not-setting-properly/725230 "2022-12-14T08:46:30Z")

</div>

this is my code of a blueprint class (actor) that I created. so what was suppose to happen is that I place lots of this class (a coin) on the map. And when the player touches it/goes on it it would add 1 to the score va…

---

## [How do I make my progress bar decrease with integer-based health?](https://forums.unrealengine.com/t/how-do-i-make-my-progress-bar-decrease-with-integer-based-health/482058)

<div class="topic-metadata">

**Author:** [@Chief\_Man](https://forums.unrealengine.com/u/Chief_Man)\
**Replies:** 33\
**Last updated:** [April 18, 2021, 9:20pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-progress-bar-decrease-with-integer-based-health/482058 "2021-04-18T21:20:37Z")

</div>

Hello. I have created a simple integer based health/damage system where the enemy has 1000 health, and the player deals 100 damage per hit. However, the health progress bar widget doesn’t decrease until the enemy goes fr…

---

## [Create Widget with integer event dispatcher](https://forums.unrealengine.com/t/create-widget-with-integer-event-dispatcher/481694)

<div class="topic-metadata">

**Author:** [@gamesUx](https://forums.unrealengine.com/u/gamesUx)\
**Replies:** 2\
**Last updated:** [April 10, 2021, 12:54pm UTC](https://forums.unrealengine.com/t/create-widget-with-integer-event-dispatcher/481694 "2021-04-10T12:54:17Z")

</div>

Hi, I am following this tutorial (Gamepad Support for UMG | Community Led Training | Unreal Engine - YouTube) and I am trying to create the Create Widget node with the integer taken from the event dispatcher which is aro…

---

## [Getting Current Character for GameInstance](https://forums.unrealengine.com/t/getting-current-character-for-gameinstance/479431)

<div class="topic-metadata">

**Author:** [@jakebaker865](https://forums.unrealengine.com/u/jakebaker865)\
**Replies:** 6\
**Last updated:** [February 26, 2021, 10:36pm UTC](https://forums.unrealengine.com/t/getting-current-character-for-gameinstance/479431 "2021-02-26T22:36:53Z")

</div>

Hi all, I’m trying to save the current character I’m on and pass that to the game instance so that when a level is loaded it remembers the character I was on and then start the new map with the new character. You can see…

---

## [Switch a widget with a different widget and change the widget switcher](https://forums.unrealengine.com/t/switch-a-widget-with-a-different-widget-and-change-the-widget-switcher/474905)

<div class="topic-metadata">

**Author:** [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Replies:** 11\
**Last updated:** [November 23, 2020, 4:21pm UTC](https://forums.unrealengine.com/t/switch-a-widget-with-a-different-widget-and-change-the-widget-switcher/474905 "2020-11-23T16:21:36Z")

</div>

here:

---

## [Pivot Painter Python to C++](https://forums.unrealengine.com/t/pivot-painter-python-to-c/472016)

<div class="topic-metadata">

**Author:** [@Fury22PL](https://forums.unrealengine.com/u/Fury22PL)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 5:34am UTC](https://forums.unrealengine.com/t/pivot-painter-python-to-c/472016 "2020-10-01T05:34:13Z")

</div>

Hi! I really need to convert one of the pivot painter functions from either python(blender pivot painter) or 3DS Max script. It has to do with shifting bits around, but all float 32 to float 16 conversions I’ve tried gi…

---

## [widget is getting reverse](https://forums.unrealengine.com/t/widget-is-getting-reverse/471529)

<div class="topic-metadata">

**Author:** [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 2:49pm UTC](https://forums.unrealengine.com/t/widget-is-getting-reverse/471529 "2020-09-18T14:49:07Z")

</div>

i was changing the widget angle with touch location but and kept divided it into 5 parts but if i didn’t keep those conditions everything is working fine but when i go from part 5 to part 4 the whole widget is going re…

---

## [Update Random Integer in Range without event tick?](https://forums.unrealengine.com/t/update-random-integer-in-range-without-event-tick/471114)

<div class="topic-metadata">

**Author:** [@lilwinterling](https://forums.unrealengine.com/u/lilwinterling)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 11:55am UTC](https://forums.unrealengine.com/t/update-random-integer-in-range-without-event-tick/471114 "2020-09-11T11:55:12Z")

</div>

Is there a way to update a variable other than using an event tick? In my case I have a Random Integer in Range that I want to update at random. Is this possible?

---

## [How to incremement a random stream?](https://forums.unrealengine.com/t/how-to-incremement-a-random-stream/468321)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 7\
**Last updated:** [July 24, 2020, 3:15pm UTC](https://forums.unrealengine.com/t/how-to-incremement-a-random-stream/468321 "2020-07-24T15:15:01Z")

</div>

I’m using a seed to pull locations for actors to spawn at, and I increment it every iteration of the for loop. I use this seed to determine the location and actor type from an array, but since the seed increment by just…

---

## [Should i use int32, or i can use int? for crossplatform](https://forums.unrealengine.com/t/should-i-use-int32-or-i-can-use-int-for-crossplatform/313374)

<div class="topic-metadata">

**Author:** [@newbprofi](https://forums.unrealengine.com/u/newbprofi)\
**Replies:** 3\
**Last updated:** [July 16, 2020, 2:32pm UTC](https://forums.unrealengine.com/t/should-i-use-int32-or-i-can-use-int-for-crossplatform/313374 "2020-07-16T14:32:43Z")

</div>

I know that earlier, C++ type “int” for 64 bit platforms was different for Windows and Linux. What about now? Should i use only “int32”, “uint32” if i want strict 32 bit int? or i can use just “int” “unsigned int”? F…

---

## [If statement causes crash when given public int variable](https://forums.unrealengine.com/t/if-statement-causes-crash-when-given-public-int-variable/468050)

<div class="topic-metadata">

**Author:** [@BEnSon1101](https://forums.unrealengine.com/u/BEnSon1101)\
**Replies:** 9\
**Last updated:** [July 14, 2020, 1:12am UTC](https://forums.unrealengine.com/t/if-statement-causes-crash-when-given-public-int-variable/468050 "2020-07-14T01:12:23Z")

</div>

only in UActorComponent and it works when given a locally declared int if statements work in character class when given Local and field int values but in the ActorComponent the if statement works on everything except …

---

## [How do I set a variable from a HUD Blueprint to an AI bot?](https://forums.unrealengine.com/t/how-do-i-set-a-variable-from-a-hud-blueprint-to-an-ai-bot/464491)

<div class="topic-metadata">

**Author:** [@PatManYT](https://forums.unrealengine.com/u/PatManYT)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 11:20am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-variable-from-a-hud-blueprint-to-an-ai-bot/464491 "2020-05-01T11:20:13Z")

</div>

Hi, I am a new ue4 user and I am currently creating a game and was wondering if anyone understands and could explain or show how I can set an integer that works from my AI bot to a button I have in my HUD. Please remembe…

---

## [Make model switch animation with integer once](https://forums.unrealengine.com/t/make-model-switch-animation-with-integer-once/464494)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Replies:** 0\
**Last updated:** [May 1, 2020, 12:52am UTC](https://forums.unrealengine.com/t/make-model-switch-animation-with-integer-once/464494 "2020-05-01T00:52:09Z")

</div>

How do i make it so my model switches animation once. With an integer and i want it to be random how many seconds it takes.

---

## [Difference between uint64 and uint64\_t?](https://forums.unrealengine.com/t/difference-between-uint64-and-uint64-t/463915)

<div class="topic-metadata">

**Author:** [@Rainoxer](https://forums.unrealengine.com/u/Rainoxer)\
**Replies:** 4\
**Last updated:** [April 20, 2020, 1:16am UTC](https://forums.unrealengine.com/t/difference-between-uint64-and-uint64-t/463915 "2020-04-20T01:16:34Z")

</div>

Hello, What is the difference between uint64 and uint64\_t ? What does the \_t mean?

---

## [Trying to make a Condition?](https://forums.unrealengine.com/t/trying-to-make-a-condition/463323)

<div class="topic-metadata">

**Author:** [@OMGconex](https://forums.unrealengine.com/u/OMGconex)\
**Replies:** 1\
**Last updated:** [April 4, 2020, 8:12pm UTC](https://forums.unrealengine.com/t/trying-to-make-a-condition/463323 "2020-04-04T20:12:51Z")

</div>

hey i have something i want to figure out i have Integers representing these stats Total amount Amount per row What index im on so i want to make a branch with a condition that only goes true if i am on the first in…

---

## [using two triggers to open door](https://forums.unrealengine.com/t/using-two-triggers-to-open-door/462179)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a70e52ba1](https://forums.unrealengine.com/u/anonymous_user_a70e52ba1)\
**Replies:** 4\
**Last updated:** [March 8, 2020, 7:01am UTC](https://forums.unrealengine.com/t/using-two-triggers-to-open-door/462179 "2020-03-08T07:01:05Z")

</div>

I’m using two boxes that will fall and collide with a trigger and i hope to have when both boxes have hit they delete the door. I was thinking about using an integer system but I can figure out how to get it to work. Is …

---

## [Function Input Parameter are always the same Value](https://forums.unrealengine.com/t/function-input-parameter-are-always-the-same-value/460117)

<div class="topic-metadata">

**Author:** [@Brutetal](https://forums.unrealengine.com/u/Brutetal)\
**Replies:** 2\
**Last updated:** [January 3, 2020, 7:47am UTC](https://forums.unrealengine.com/t/function-input-parameter-are-always-the-same-value/460117 "2020-01-03T07:47:31Z")

</div>

Hey! I don’t get why this is happening, so maybe you could help me out! Is this just a debugger “bug”? Or did I do something wrong? I’m really confused with this! I’m calling a function and giving it 2 Integer Values,…

---

## [Title based on various skill levels](https://forums.unrealengine.com/t/title-based-on-various-skill-levels/459315)

<div class="topic-metadata">

**Author:** [@Milo\_911](https://forums.unrealengine.com/u/Milo_911)\
**Replies:** 1\
**Last updated:** [December 13, 2019, 9:43am UTC](https://forums.unrealengine.com/t/title-based-on-various-skill-levels/459315 "2019-12-13T09:43:08Z")

</div>

So, I’m trying to make a system where as the player levels up certain aspects of a skill tree, it changes his/her class “title” (i.e. lvl. 15 destructive magic & lvl 12 melee = Spell Sword, or something) I’m trying to w…

[Next page](https://forums.unrealengine.com/tag/integer/4053.md?match_all_tags=true&page=1&tags%5B%5D=integer)
