# How to make Slate Widget visible in blueprints?

**URL:** <https://forums.unrealengine.com/t/how-to-make-slate-widget-visible-in-blueprints/493497>\
**Category:** C++\
**Tags:** unreal-engine, UE4-26, Widget, Blueprint, question\
**Created:** [February 2, 2022, 7:08pm UTC](https://forums.unrealengine.com/t/how-to-make-slate-widget-visible-in-blueprints/493497 "2022-02-02T19:08:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [February 2, 2022, 7:32pm UTC](https://forums.unrealengine.com/t/how-to-make-slate-widget-visible-in-blueprints/493497/2 "2022-02-02T19:32:49Z")

</div>

You need to wrap it in a UWidget. Here’s an example from one of my plugins with GetPaletteCategory determining where the widget shows up for UMG users:

```auto
/** A UMG widget wrapper for the spreadsheet widget */
UCLASS()
class GOOGLESHEETSOPERATOR_API UGoogleSheetsOperatorSpreadsheetWidget : public UWidget
{
	GENERATED_BODY()

public:

#if WITH_EDITOR
	virtual const FText GetPaletteCategory() override
	{
		return INVTEXT("Google Sheets Operator");
	}
#endif

```

Then you need to implement two virtual functions:

```auto
protected:
	// UWidget interface
	virtual TSharedRef<SWidget> RebuildWidget() override;
	virtual void ReleaseSlateResources(bool bReleaseChildren) override;
	// End of UWidget interface

```

RebuildWidget essentially returns SNew of your Slate widget and ReleaseSlateResources is called when your widget is destroyed, so you can reset shared pointers in the UWidget and the underlying Slate Widget.

If you want to expose properties of the underlying Slate Widget, you’ll need to create a duplicate `UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "CategoryName", meta = (ExposeOnSpawn = true))` in the UWidget then pass them in when you return your slate widget in RebuildWidget.

* * *

[Runtime DataTable](https://www.unrealengine.com/marketplace/en-US/product/4c7c4f8d523f4c90b2e26d23502c526c) : Import and export game data to and from CSV or Google Sheets while your game is running!

[easyCSV](https://www.unrealengine.com/marketplace/en-US/product/b25b855096e74d088d7553ccbe4072f2) : Read data from any CSV and put them in an easy-to-access string map!

[iTween](https://forums.unrealengine.com/t/open-beta-procedural-on-the-fly-animation-in-ue4-itween/10472) : Free, smooth, procedural object animation

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-make-slate-widget-visible-in-blueprints/493497)._
