# \#canvas

**URL:** https://forums.unrealengine.com/tag/canvas/1555.md

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

---

## [How do i get rid of the gaps in the lines? ](https://forums.unrealengine.com/t/how-do-i-get-rid-of-the-gaps-in-the-lines/2724338)

<div class="topic-metadata">

**Author:** [@Mathos1453](https://forums.unrealengine.com/u/Mathos1453)\
**Replies:** 5\
**Last updated:** [May 26, 2026, 2:57am UTC](https://forums.unrealengine.com/t/how-do-i-get-rid-of-the-gaps-in-the-lines/2724338 "2026-05-26T02:57:02Z")

</div>

i’m using draw canvas to render target to make a simple drawing UI, but the lines always have these gaps in them, how do i make the lines smooth? i’m almost certain that i need to do something with the lerp, but nothing…

---

## [UE4.17 Retainer box is washing colors](https://forums.unrealengine.com/t/ue4-17-retainer-box-is-washing-colors/405296)

<div class="topic-metadata">

**Author:** [@Tefel](https://forums.unrealengine.com/u/Tefel)\
**Replies:** 9\
**Last updated:** [May 23, 2026, 9:16pm UTC](https://forums.unrealengine.com/t/ue4-17-retainer-box-is-washing-colors/405296 "2026-05-23T21:16:20Z")

</div>

Hello, I have the problem that when I am using custom drawer: FSlateDrawElement::MakeCustom(OutDrawElements, TopLayer, Drawer); and placing widget inside RetainerBox results that widget has washed colors. The only…

---

## [Is it bad to have multiple Canvas widgets if only one is visible at a time?](https://forums.unrealengine.com/t/is-it-bad-to-have-multiple-canvas-widgets-if-only-one-is-visible-at-a-time/2628297)

<div class="topic-metadata">

**Author:** [@X-perto](https://forums.unrealengine.com/u/X-perto)\
**Replies:** 2\
**Last updated:** [August 4, 2025, 11:06am UTC](https://forums.unrealengine.com/t/is-it-bad-to-have-multiple-canvas-widgets-if-only-one-is-visible-at-a-time/2628297 "2025-08-04T11:06:48Z")

</div>

Hey everyone, I’ve heard that having multiple Canvas widgets in a UI hierarchy can negatively impact performance. However, I’m wondering if this performance hit still applies if only one of the Canvas widgets is visibl…

---

## [Dynamically set widget position on canvas panel?](https://forums.unrealengine.com/t/dynamically-set-widget-position-on-canvas-panel/436026)

<div class="topic-metadata">

**Author:** [@MaxPower42](https://forums.unrealengine.com/u/MaxPower42)\
**Replies:** 13\
**Last updated:** [February 24, 2025, 2:15pm UTC](https://forums.unrealengine.com/t/dynamically-set-widget-position-on-canvas-panel/436026 "2025-02-24T14:15:45Z")

</div>

I have been using SetRenderTransform and AddToViewport on my context menu until now, which pops up wherever you hold the right button. The problem is that there is nothing to stop the menu from extending beyond the viewp…

---

## [How to use SetText() to make a UI button change text when clicked on](https://forums.unrealengine.com/t/how-to-use-settext-to-make-a-ui-button-change-text-when-clicked-on/1849526)

<div class="topic-metadata">

**Author:** [@KiansDojo](https://forums.unrealengine.com/u/KiansDojo)\
**Replies:** 7\
**Last updated:** [May 10, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/how-to-use-settext-to-make-a-ui-button-change-text-when-clicked-on/1849526 "2024-05-10T14:58:20Z")

</div>

So I have this code to set up my UI buttons (there is a bit more code before this to set up the UI): @editable Button2\_Text : string = "" @editable Button2\_Position : vector2 = vector2{} @editable Button2\_Si…

---

## [Canvas Panel \`Size To Content\` doesn't work, causing clipping](https://forums.unrealengine.com/t/canvas-panel-size-to-content-doesnt-work-causing-clipping/1780803)

<div class="topic-metadata">

**Author:** [@coffee2code1234](https://forums.unrealengine.com/u/coffee2code1234)\
**Replies:** 0\
**Last updated:** [March 31, 2024, 8:06pm UTC](https://forums.unrealengine.com/t/canvas-panel-size-to-content-doesnt-work-causing-clipping/1780803 "2024-03-31T20:06:48Z")

</div>

In UE 5.3.2, I have a widget with the following hierarchy: Canvas Panel - Full Screen Scroll Box Canvas Panel - Item 1 Scale Box Size Box Image - Item 1 The (non-default) editor properties are: Scroll…

---

## [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…

---

## [Bad text / font quality when drawing it on RenderTargetCanvas2D](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588)

<div class="topic-metadata">

**Author:** [@nitrogen092](https://forums.unrealengine.com/u/nitrogen092)\
**Replies:** 4\
**Last updated:** [January 27, 2024, 9:40am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588 "2024-01-27T09:40:27Z")

</div>

When drawing text on RenderTarget2D using the DrawText node, the text quality is very low, the text is blurred… I adjust the text size with the Scale parameter. I tried to increase the canvas size and, accordingly, the s…

---

## [Changing HTML5 canvas to fit both horizontal and vertical screen size](https://forums.unrealengine.com/t/changing-html5-canvas-to-fit-both-horizontal-and-vertical-screen-size/430927)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_11be51181](https://forums.unrealengine.com/u/anonymous_user_11be51181)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 11:39pm UTC](https://forums.unrealengine.com/t/changing-html5-canvas-to-fit-both-horizontal-and-vertical-screen-size/430927 "2022-11-30T23:39:51Z")

</div>

I’m deploying my project to html5 and I would like to have the canvas to fit the whole browser window. The horizontal size stretches out to pretty much the whole width which is good, but I can’t find a way to get the ve…

---

## [How to prevent widget stop rendering after going out of Canvas Panel bounds???](https://forums.unrealengine.com/t/how-to-prevent-widget-stop-rendering-after-going-out-of-canvas-panel-bounds/439127)

<div class="topic-metadata">

**Author:** [@Xukapy](https://forums.unrealengine.com/u/Xukapy)\
**Replies:** 1\
**Last updated:** [November 25, 2021, 12:24pm UTC](https://forums.unrealengine.com/t/how-to-prevent-widget-stop-rendering-after-going-out-of-canvas-panel-bounds/439127 "2021-11-25T12:24:35Z")

</div>

Hello! I have a widget that generates dungeon map from top left corner of Canvas Panel. I implemented widgets panning inside my “Container” widget. So I want to move map somewhat like in Darkest Dungeon. But when widget…

---

## [Drawing Alpha channel to a TextureRenderTarget2D?](https://forums.unrealengine.com/t/drawing-alpha-channel-to-a-texturerendertarget2d/392110)

<div class="topic-metadata">

**Author:** [@Teiwaz](https://forums.unrealengine.com/u/Teiwaz)\
**Replies:** 6\
**Last updated:** [October 18, 2021, 10:01am UTC](https://forums.unrealengine.com/t/drawing-alpha-channel-to-a-texturerendertarget2d/392110 "2021-10-18T10:01:40Z")

</div>

I’m currently working on a system which uses the Canvas system to draw other assets (such as text, textures, etc) onto a TextureRenderTarget2D. These elements are then overlayed on top of another texture in a material a…

---

## [Export to Disk Won't Export.](https://forums.unrealengine.com/t/export-to-disk-wont-export/485049)

<div class="topic-metadata">

**Author:** [@Lokerian](https://forums.unrealengine.com/u/Lokerian)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 2:29pm UTC](https://forums.unrealengine.com/t/export-to-disk-wont-export/485049 "2021-07-13T14:29:50Z")

</div>

I found out that when Exporting multiple images to disk, sometimes it just won’t work regardless of using Async mode or not. From my test, it seems that whenever I run the game on a separate window it works fine, but wh…

---

## [Gamplay debugger canvas size does not display complete information](https://forums.unrealengine.com/t/gamplay-debugger-canvas-size-does-not-display-complete-information/468505)

<div class="topic-metadata">

**Author:** [@Asma\_Rafi](https://forums.unrealengine.com/u/Asma_Rafi)\
**Replies:** 1\
**Last updated:** [April 17, 2021, 8:22am UTC](https://forums.unrealengine.com/t/gamplay-debugger-canvas-size-does-not-display-complete-information/468505 "2021-04-17T08:22:55Z")

</div>

I am trying to see information for AI perception while enabling Gameplay debugger but it does not show complete information. I have tried changing the canvas padding but it still has no effect from the right side. I have…

---

## [Confusion About Positioning in UI Widget](https://forums.unrealengine.com/t/confusion-about-positioning-in-ui-widget/466004)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2a3e0461](https://forums.unrealengine.com/u/anonymous_user_e2a3e0461)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 8:11am UTC](https://forums.unrealengine.com/t/confusion-about-positioning-in-ui-widget/466004 "2020-06-01T08:11:19Z")

</div>

Hi friends, I’m doing a tutorial series and am at the part where the UI / HUD elements are being integrated, and am a little bit confused about how positioning works. I have two text boxes, “Hunger” and “Stamina”, and …

---

## [Get the size of UCanvasPanel C++](https://forums.unrealengine.com/t/get-the-size-of-ucanvaspanel-c/465433)

<div class="topic-metadata">

**Author:** [@danielf94](https://forums.unrealengine.com/u/danielf94)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 11:40am UTC](https://forums.unrealengine.com/t/get-the-size-of-ucanvaspanel-c/465433 "2020-05-21T11:40:15Z")

</div>

Hello, I need to get the size of UCanvasPanel c++ .h UPROPERTY(meta = (BindWidget)) class UCanvasPanel\* MyCanvas; I need to get inside a Vector2D X and Y the size of my panel, the panel is created from the designe…

---

## [HTML5 project not launch on full canvas](https://forums.unrealengine.com/t/html5-project-not-launch-on-full-canvas/464893)

<div class="topic-metadata">

**Author:** [@AgeofDonmunism](https://forums.unrealengine.com/u/AgeofDonmunism)\
**Replies:** 0\
**Last updated:** [May 9, 2020, 12:31am UTC](https://forums.unrealengine.com/t/html5-project-not-launch-on-full-canvas/464893 "2020-05-09T00:31:49Z")

</div>

Hello, I am trying to launch a HTML5 project on 4.23. Everything works perfectly but the canvas screen doesn’t seem to fill in the whole space, there are quite a bit of white spaces around the canvas. Does anyone know ho…

---

## [Colo(u)r wheel in widget](https://forums.unrealengine.com/t/colo-u-r-wheel-in-widget/464519)

<div class="topic-metadata">

**Author:** [@Ganondork01](https://forums.unrealengine.com/u/Ganondork01)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 1:54pm UTC](https://forums.unrealengine.com/t/colo-u-r-wheel-in-widget/464519 "2020-05-01T13:54:14Z")

</div>

I have a png of a colo(u)r wheel within a canvas and I want to fragment the canvas in a very particular way so that selecting each section can activate a different material ID. How would I go about fragmenting a canvas p…

---

## [How To Use the DrawDebugCanvas2DXXX function](https://forums.unrealengine.com/t/how-to-use-the-drawdebugcanvas2dxxx-function/460396)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2f169c1d1](https://forums.unrealengine.com/u/anonymous_user_2f169c1d1)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 12:45pm UTC](https://forums.unrealengine.com/t/how-to-use-the-drawdebugcanvas2dxxx-function/460396 "2020-01-10T12:45:31Z")

</div>

Currently I need to Draw some 2D debug Object, I find Some Functions DrawDebugCanvas2DXXX(...) But It needs UCanvas for Draw,So after some digging I found there’s a UCanvas\* DebugCanvas in AHUD classes, But it’s privat…

---

## [Paint on Canvas using BlendMode](https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859)

<div class="topic-metadata">

**Author:** [@Evg\_1987](https://forums.unrealengine.com/u/Evg_1987)\
**Replies:** 1\
**Last updated:** [September 5, 2019, 4:35am UTC](https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859 "2019-09-05T04:35:51Z")

</div>

I want to paint line. Blend mode is additive. Line is painted as opaque. Is it possible to paint additive? // canvas construction RenderTarget = UCanvasRenderTarget2D::CreateCanvasRenderTarget2D(GetWorld(), UCanvasRende…

---

## [change location of image within a canvas](https://forums.unrealengine.com/t/change-location-of-image-within-a-canvas/450282)

<div class="topic-metadata">

**Author:** [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Replies:** 1\
**Last updated:** [June 7, 2019, 6:52am UTC](https://forums.unrealengine.com/t/change-location-of-image-within-a-canvas/450282 "2019-06-07T06:52:49Z")

</div>

Hi, I’m trying to do a relatively simple thing. I have a canvas which shows a map within a menu. I also have an image overlay, with a pin saying which says “you are here”. I would like to be able to change the coordina…

---

## [UMG Size width and height at runtime](https://forums.unrealengine.com/t/umg-size-width-and-height-at-runtime/386835)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Replies:** 1\
**Last updated:** [April 2, 2019, 8:14am UTC](https://forums.unrealengine.com/t/umg-size-width-and-height-at-runtime/386835 "2019-04-02T08:14:18Z")

</div>

I am trying to set an image to an exact pixel size. When the user hits a key the image pixel size will change. In My Widget editor the resolution is marked as 1280 x 720 (16:9) and DPI Scale 0.67 If I manually scale my…

---

## [UCanvasPanel::AddChildToCanvas is very slow ?](https://forums.unrealengine.com/t/ucanvaspanel-addchildtocanvas-is-very-slow/445292)

<div class="topic-metadata">

**Author:** [@uced](https://forums.unrealengine.com/u/uced)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 9:16am UTC](https://forums.unrealengine.com/t/ucanvaspanel-addchildtocanvas-is-very-slow/445292 "2019-03-20T09:16:03Z")

</div>

Hello, I noticed that UCanvasPanel::AddChildToCanvas is super slow. I takes around 3-4 seconds to add ~30 widgets in a for loop. Should i be using another mechanism to automatically populate a canvas panel at runtime …

---

## [Draw text to Canvas- how can I fill the canvas with my text?](https://forums.unrealengine.com/t/draw-text-to-canvas-how-can-i-fill-the-canvas-with-my-text/444883)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bf9de05a](https://forums.unrealengine.com/u/anonymous_user_bf9de05a)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 9:31pm UTC](https://forums.unrealengine.com/t/draw-text-to-canvas-how-can-i-fill-the-canvas-with-my-text/444883 "2019-03-11T21:31:44Z")

</div>

Hey Devs, I’m trying to use Render Text to Texture using Canvas Render 2d, and so far, I’m able to draw text, and use the resulting texture in a dynamic material instance. However, currently, I’ve only been able to dra…

---

## [HUD Canvas and UMG misalignment](https://forums.unrealengine.com/t/hud-canvas-and-umg-misalignment/439043)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3b7561f0](https://forums.unrealengine.com/u/anonymous_user_3b7561f0)\
**Replies:** 0\
**Last updated:** [December 7, 2018, 8:11am UTC](https://forums.unrealengine.com/t/hud-canvas-and-umg-misalignment/439043 "2018-12-07T08:11:55Z")

</div>

Hi there, I have an old HUD Canvas that I’m trying to create mouse support for. I’m overlaying UMG buttons at the coordinates of all relevant buttons and whatnot provided in the C++ source code for the Canvas. This all…

---

## [How can I use a transparent image on a canvas?](https://forums.unrealengine.com/t/how-can-i-use-a-transparent-image-on-a-canvas/438810)

<div class="topic-metadata">

**Author:** [@Sam54123](https://forums.unrealengine.com/u/Sam54123)\
**Replies:** 2\
**Last updated:** [December 4, 2018, 2:43pm UTC](https://forums.unrealengine.com/t/how-can-i-use-a-transparent-image-on-a-canvas/438810 "2018-12-04T14:43:49Z")

</div>

I’m trying to make a render target compositor using UCavas, and when I overlay a texture with transparency, the alpha channel just appears black. What can I do about this?

---

## [Can font faces in a ufont be accessed via C++?](https://forums.unrealengine.com/t/can-font-faces-in-a-ufont-be-accessed-via-c/432535)

<div class="topic-metadata">

**Author:** [@ScopeDogCustom](https://forums.unrealengine.com/u/ScopeDogCustom)\
**Replies:** 0\
**Last updated:** [August 27, 2018, 6:17am UTC](https://forums.unrealengine.com/t/can-font-faces-in-a-ufont-be-accessed-via-c/432535 "2018-08-27T06:17:51Z")

</div>

I have a custom HUD that uses the DrawText() function to display text on screen. In the editor, I have a font set up with multiple font faces. The UFont reference from the editor gets loaded in the HUD constructor. C…

---

## [Wrong UMG culling if canvas is added to canvas](https://forums.unrealengine.com/t/wrong-umg-culling-if-canvas-is-added-to-canvas/424615)

<div class="topic-metadata">

**Author:** [@HCK](https://forums.unrealengine.com/u/HCK)\
**Replies:** 1\
**Last updated:** [May 14, 2018, 2:20pm UTC](https://forums.unrealengine.com/t/wrong-umg-culling-if-canvas-is-added-to-canvas/424615 "2018-05-14T14:20:10Z")

</div>

Hi! While trying to implement a 2d map with UMG I encountered a behavior which I think is a bug. I’m adding widgets to a canvas which also have a canvas with an image in it. If I move these widgets out of the screen, th…

---

## [Screenshot glow effect problem](https://forums.unrealengine.com/t/screenshot-glow-effect-problem/423273)

<div class="topic-metadata">

**Author:** [@BingoBongo](https://forums.unrealengine.com/u/BingoBongo)\
**Replies:** 0\
**Last updated:** [April 22, 2018, 10:50am UTC](https://forums.unrealengine.com/t/screenshot-glow-effect-problem/423273 "2018-04-22T10:50:01Z")

</div>

Hi everyone. I have FloatRGB texture where some pixels have values more than 1. If it would be emissive color in material then I got glow effect like this: To get glow effect I try to render texture with DefaultLit m…

---

## [My UCanvasRenderTarget object only draws black shapes](https://forums.unrealengine.com/t/my-ucanvasrendertarget-object-only-draws-black-shapes/422516)

<div class="topic-metadata">

**Author:** [@FrancescoDeso](https://forums.unrealengine.com/u/FrancescoDeso)\
**Replies:** 0\
**Last updated:** [April 13, 2018, 10:08am UTC](https://forums.unrealengine.com/t/my-ucanvasrendertarget-object-only-draws-black-shapes/422516 "2018-04-13T10:08:26Z")

</div>

I’m trying to use a UCanvasRenderTarget to draw some shapes into a texture that is a applied to a material, assigned to a simple plane mesh. It kinda works, except that everything I draw is always pitch black, like this: …

---

## [\[UMG\] How to get canvas variable references into C++](https://forums.unrealengine.com/t/umg-how-to-get-canvas-variable-references-into-c/416662)

<div class="topic-metadata">

**Author:** [@CardDeath](https://forums.unrealengine.com/u/CardDeath)\
**Replies:** 4\
**Last updated:** [February 8, 2018, 11:41am UTC](https://forums.unrealengine.com/t/umg-how-to-get-canvas-variable-references-into-c/416662 "2018-02-08T11:41:29Z")

</div>

The Problem So I’ve been doing a lot of work with widgets and UMG but I prefer to keep as much logic inside C++ as possible where I can. So the problem comes when I want to get say a “TextBlock” element from the Canvas …

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