<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to use &quot;pushToSprite&quot; in Core2]]></title><description><![CDATA[<p dir="auto">Guys, I wasn't able to use "pushToSprite" in my M5Stack Core2. It seems that there's no such function in Core2 LCD library (<a href="http://docs.m5stack.com/en/api/core2/lcd_api" target="_blank" rel="noopener noreferrer nofollow ugc">http://docs.m5stack.com/en/api/core2/lcd_api</a>). When I try to use it in Arduino I'll get the error<br />
'class TFT_eSprite' has no member named 'pushToSprite';<br />
What's the sense of working with Sprites if I cannot push one sprite on top of another?<br />
What could I do to solve such an issue?<br />
Thanks a lot.</p>
]]></description><link>https://community.m5stack.com/topic/5035/how-to-use-pushtosprite-in-core2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:47:43 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5035.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Feb 2023 17:11:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use &quot;pushToSprite&quot; in Core2 on Sun, 05 Feb 2023 22:46:33 GMT]]></title><description><![CDATA[<p dir="auto">Isn't the method called pushSprite?</p>
<p dir="auto">On a M5StickC-Plus, I use:</p>
<p dir="auto">setup():<br />
TFT_eSprite sgraph = TFT_eSprite(&amp;M5.Lcd);<br />
...<br />
sgraph.createSprite(GRAPHW, GRAPHH);<br />
...</p>
<p dir="auto">loop():<br />
...<br />
sgraph.pushSprite(TEXTW, 0);<br />
....</p>
]]></description><link>https://community.m5stack.com/post/20022</link><guid isPermaLink="true">https://community.m5stack.com/post/20022</guid><dc:creator><![CDATA[wsanders]]></dc:creator><pubDate>Sun, 05 Feb 2023 22:46:33 GMT</pubDate></item></channel></rss>