How to get arrows in the script editor?

Hello, I was watching a video by alvin blox and I saw that he had some arrows in his script editor that look like this:


How do I enable those? I tried all of the settings in the script editor and I ended up with this:

Just a bunch of dots.
Edit: I don’t know the right category for this.
Thank you!

2 Likes

I think that’s just a tab character, while you have four spaces.

Copy and paste this code into your editor:

--[[
These are tabs
	a
	b
	c

These are spaces
    a
    b
    c
--]]
3 Likes

Already turned on and I only get the dots:

1 Like

When indenting, try using tab instead of spaces.

1 Like

The arrows are only for tables and stuff

1 Like

How do I do that? Hold tab? Here is what happens:
(I am pressing tab)

1 Like

Nevermind, it’s likely what @PapaBreadd mentioned – I don’t use the whitespace setting so I came to the conclusion of using tab instead of space based on the differences in symbols.

1 Like

When I press tab (even inside a table) this happens:

You’re doing that inside of block comments, not a table.

Try creating a table like shown in the screenshot from the original post and doing that:

local myTable = {

 -- Click tab inside of the table

}
1 Like

Uncheck “Indent Using Spaces” in the Script Editor settings.

3 Likes

Here’s a screenshot I just took in Studio as an example – this is inside of a table and the arrows were tabs while the dots were spaces:

You might need to disable the setting that @nicemike40 brought up as well (which I was also unaware of, haha. I feel very sloppy with my explanations today :stuck_out_tongue:)

table

2 Likes