caymanbruce Posted December 15, 2016 Share Posted December 15, 2016 Suppose I have a PIXI.Text object and I want to use my mouse to select a few letters inside the text like I do in a text input. How can I achieve this? What events should I listen to? Is it "mousedown" and "mouseup"? And then maybe I need to draw a reversed color rectangle around the selected text? Not sure if this works and I wonder how complicate would that be. Quote Link to comment Share on other sites More sharing options...
Wilco93 Posted September 27, 2018 Share Posted September 27, 2018 I would like to bump this thread, as I am having the same question! Quote Link to comment Share on other sites More sharing options...
xerver Posted September 27, 2018 Share Posted September 27, 2018 There is no built-in way to do this, you would have to manually handle the input and draw a highlight. Or use DOM. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.