decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

onKeyPress event on UI entities #1039

Open nearnshaw opened 9 months ago

nearnshaw commented 9 months ago

Add an onKeyPress event on UI entities to support more than just clicks. It could be used to detect pressing E and F keys on an item. This would be useful in more advanced UIs like an inventory, where you can perform more than one kind of action on an item.