I - A flexible and easy to use user input library

Github | Roblox

i - A flexible and easy to use user input library

v3 is out completely

This is my first devforum post!

Docs: i/DOCS.md at v3.0.0 · ratplier/i · GitHub
src: i/src/i at master · ratplier/i · GitHub

v3 - Release i (v3) · ratplier/i · GitHub
Legacy - https://create.roblox.com/store/asset/17687397881

made by @ratplier under LopixelStudios (©)
3 Likes

Legacy Versions

v1 : https://create.roblox.com/store/asset/17687397881

v2 does not exist. i do not know why i made this release v3

With UI, are you referring to user input or user interface. The latter is more common from my experience.

By UI. I am referring to the latter. I made it mostly for my ease of use during plugin development

It’s a bit confusing because your docs are only talking about user input. How is this related to user interface? You even label this resource as an input library on the readme.

I think this is a User Input library not a User Interface library.

1 Like

Just letting you know “the latter” refers to the second option in the question. I looked through the resource and it looks definitely like a user input library.

I suggest changing the abbreviation UI to the actual words, because when I read this I first think of user interface as that is what I see it used for the most.

2 Likes

I’ll do that. Thank you!

too short so i cant send

Also yeah that’s my bad :smile:

tooshorttooshort

Plugin Support is in beta!

github commit | repo

To load it, when you initialize the module, set the first argument to a plugin or nil then add the path to the UI plugin. (auto installation will be implemented later)

Also added a test plugin that integrates it with UI (User Interface)

UI Plugin functions include:

  • GetPosition/GetSize
  • Lock/Unlock Axis (X/Y)
  • SetDrag
  • Snap

None of these features are documented yet but here is a quick overview

SetDrag - Makes a UI object draggable at a point
Snap - Snaps a UI object to a UDim2 point with a radius
LockAxis - Locks the axis of the UI object to the given UDim

It is recommended to read the UI plugin and analyze the code so its easier to use