Need help with a @rbxts/react item component for a Tarkov-themed inventory.
I am working on a tarkov/arena breakout themed inventory system. I have two of the primary components I will likely need mostly completed. The issue I am having is regarding the
InventoryItem component. This component will be responsible for displaying the actual item in whatever configuration it is set in (e.g. slot sizes x. y and rotation)
I have a few issues with how I am going to make this component work but first let me share the code for the component in question:
1. I am having an issue figuring out how to capture a ref of the item frame which can be either a imagelabel or a viewportframe.
2. I am having an issue when using a uidragdetector I need the inputPosition to be relative to the grid component the item is a child of.8 Replies
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
Can't the types are incompatible
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View


^ GuiObject
This is why I am here
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
If I dont assign a type to the ref I can do it.