# Sprite Library with Visual Scripting (bolt)

**URL:** <https://discussions.unity.com/t/sprite-library-with-visual-scripting-bolt/913342>\
**Category:** Visual Scripting\
**Tags:** Visual-Scripting, Question, com\_unity\_visualscripting\
**Created:** [March 26, 2023, 2:08pm UTC](https://discussions.unity.com/t/sprite-library-with-visual-scripting-bolt/913342 "2023-03-26T14:08:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calixe00](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@calixe00](https://discussions.unity.com/u/calixe00)\
**Post date:** [March 26, 2023, 2:08pm UTC](https://discussions.unity.com/t/sprite-library-with-visual-scripting-bolt/913342/1 "2023-03-26T14:08:15Z")

</div>

Hi everyone, I’m french so sorry for my english.

I am with Unity 2021.3.21f1 and I use Sprite Library to change some sprites on GameObjects. I would like to change in script with Sprit library and Sprite resolver for exemple but i didn’t find the nodes. I was try to add nodes in Project Settings → Visual Scripting → Type Option & Node Library. Impossible to find the node Sprite Library. I know that the old version was Experimental in 2019. I have the old node in red, but it’s didn’t work.

 ![8904264--1218594--Capture d’écran 2023-03-26 à 16.02.39.png](https://europe1.discourse-cdn.com/unity/original/4X/2/b/9/2b922e84d0fecd6d17c6874e9372e3b1773e3af3.png) ![8904264--1218600--Capture d’écran 2023-03-26 à 16.06.26.png](https://europe1.discourse-cdn.com/unity/original/4X/7/b/8/7b845a3645b05ee99d047ebdff65d773f3b3bf13.png)

Please Help me,

---

<div class="post-metadata">

**Author:** ![jeromeatunity](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/jeromeatunity/32/94256_2.png) [@jeromeatunity](https://discussions.unity.com/u/jeromeatunity)\
**Post date:** [March 28, 2023, 8:07pm UTC](https://discussions.unity.com/t/sprite-library-with-visual-scripting-bolt/913342/2 "2023-03-28T20:07:01Z")

</div>

First, make sure you’re **not** using Bolt in your project, as this is not recommended. The new Visual Scripting library is now included in Unity 2021.3 and later.

Add the **2D Animation Package** to your Unity project using the **Package Manager**.

 ![](https://europe1.discourse-cdn.com/unity/original/4X/2/0/a/20a18cde6746c91d63415d8bd383bdbf5cf89a15.png)

Under Project Settings \> Visual Scripting \> **Node Library,** add **Unity.2d.Animation.Runtime** and click **Generate Nodes**.

 ![](https://europe1.discourse-cdn.com/unity/original/4X/9/e/4/9e44557dd1a72b583f4427dfdbc64023998bae22.png)

The units you want, like Sprite Resolver \> Set Category And Label, should now appear in the Script Graphs.

![](https://europe1.discourse-cdn.com/unity/original/4X/b/a/6/ba6cbaa78fdcc1491661efafaf316106a6ea4fcc.png)

hth.
